From ede17586a14715351cce7e249a4f372e497c0fd2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 29 Nov 2012 01:04:37 -0600 Subject: Fix event queue --- tqdbusconnection_p.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'tqdbusconnection_p.h') 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_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 -- cgit v1.2.1