Logo Search packages:      
Sourcecode: kdbus version File versions  Download package

void QDBusMessage::setTimeout ( int  ms  ) 

Sets the message's timeout.

The timeout is the number of milliseconds the DBus connection will wait for the reply of an asynchronous call.

If no reply is received in time, an error message will be delivered to the asynchronous reply receiver.

If no timeout is set explicitly, DefaultTimeout is assumed, which is usually the best option

the asynchronous wait timeout in milliseconds
ms timeout in milliseconds
See also:



Definition at line 211 of file qdbusmessage.cpp.

    d->timeout = ms;

Generated by  Doxygen 1.6.0   Back to index