summaryrefslogtreecommitdiffstats
path: root/tqdbusconnection_p.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-29 01:04:37 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-29 01:04:37 -0600
commitede17586a14715351cce7e249a4f372e497c0fd2 (patch)
tree01fde0626b71fcc0ca5ca79bdb0d033602e2842e /tqdbusconnection_p.h
parenta111d47e9cf09a4a3dde3eb1b4ff21ce5fa25fa6 (diff)
downloaddbus-1-tqt-ede17586a14715351cce7e249a4f372e497c0fd2.tar.gz
dbus-1-tqt-ede17586a14715351cce7e249a4f372e497c0fd2.zip
Fix event queue
Diffstat (limited to 'tqdbusconnection_p.h')
-rw-r--r--tqdbusconnection_p.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/tqdbusconnection_p.h b/tqdbusconnection_p.h
index 97537f0..042c3b7 100644
--- a/tqdbusconnection_p.h
+++ b/tqdbusconnection_p.h
@@ -47,6 +47,7 @@
#include "tqdbusatomic.h"
#include "tqdbuserror.h"
#include "tqdbusobject.h"
+#include "tqdbusmessage.h"
class TQT_DBusMessage;
class TQSocketNotifier;
@@ -56,6 +57,15 @@ class TQTimerEvent;
struct DBusConnection;
struct DBusServer;
+class TQT_DBusResultInfo
+{
+ public:
+ TQT_DBusMessage message;
+ TQObject* receiver;
+ TQCString method;
+};
+typedef TQValueList<TQT_DBusResultInfo> TQT_DBusResultInfoList;
+
class TQT_DBusConnectionPrivate: public TQObject
{
Q_OBJECT
@@ -149,6 +159,19 @@ public:
PendingMessagesForEmit pendingMessages;
bool inDispatch;
+
+ TQT_DBusResultInfoList m_resultEmissionQueue;
+
+public:
+ void newMethodInResultEmissionQueue();
+
+private slots:
+ void transmitResultEmissionQueue();
+ void transmitMessageEmissionQueue();
+
+private:
+ TQTimer* m_resultEmissionQueueTimer;
+ TQTimer* m_messageEmissionQueueTimer;
};
#endif