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

void QDBusProxy::handleAsyncReply ( const QDBusMessage message  )  [protected, virtual, slot]

Handles replies to asynchronous method calls.

The base implementation simply extracts the reply's error and makes it available for lastError(). It then emits asyncReply()

Parameters:
message the DBus reply message as received
See also:
QDBusMessage::replySerialNumber()

Definition at line 199 of file qdbusproxy.cpp.

References asyncReply(), QDBusMessage::error(), and QDBusMessage::replySerialNumber().

Referenced by sendWithAsyncReply().

{
    d->error = message.error();

    emit asyncReply(message.replySerialNumber(), message);
}


Generated by  Doxygen 1.6.0   Back to index