Some methods in the ModemManager API (e.g. network scan) may take
longer to complete than the default DBus timeout configured for the
QDBusAbstractInterface, which is 25s usually.
Allow clients to update this default timeout on every interface.
jgrulich | |
broulik |
Frameworks |
Some methods in the ModemManager API (e.g. network scan) may take
longer to complete than the default DBus timeout configured for the
QDBusAbstractInterface, which is 25s usually.
Allow clients to update this default timeout on every interface.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
I think all the methods should be called timeout() and setTimeout(), you are not changing default timeout which will always be 25s if -1 is set as timeout value. Also the getters should be const methods.