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

Returns:
the asynchronous wait timeout in milliseconds
Parameters:
ms timeout in milliseconds
See also:
timeout()

DefaultTimeout

NoTimeout

Definition at line 211 of file qdbusmessage.cpp.

{
    d->timeout = ms;
}


Generated by  Doxygen 1.6.0   Back to index