From 602809693a5b9a20c83a5726cee0a6426bc2a6f3 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 20 Feb 2006 13:23:11 +0000 Subject: 2006-02-20 Thiago Macieira * qt/qdbusinterface_p.h: * qt/qdbusinterface.cpp: Use the standard org.freedesktop.DBus.Method.NoReply annotation for the "async" calls instead of creating one for us. * qt/qdbusconnection_p.h: * qt/qdbusintegrator.cpp: Remove debugging code. * qt/qdbusintegrator.cpp: * qt/qdbusmessage.cpp: * qt/qdbusmessage_p.h: * qt/qdbusmessage.h: Change the behaviour of automatic reply-sending: now a reply is always sent, unless the caller didn't request one or if the user slot has already sent one. --- qt/qdbusmessage.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qt/qdbusmessage.h') diff --git a/qt/qdbusmessage.h b/qt/qdbusmessage.h index 6c480444..7c190c62 100644 --- a/qt/qdbusmessage.h +++ b/qt/qdbusmessage.h @@ -71,6 +71,9 @@ public: int timeout() const; void setTimeout(int ms); + bool noReply() const; + void setNoReply(bool enable); + QString signature() const; //protected: @@ -79,6 +82,7 @@ public: static QDBusMessage fromError(const QDBusError& error); int serialNumber() const; int replySerialNumber() const; + bool wasRepliedTo() const; private: QDBusMessagePrivate *d; -- cgit