diff options
author | Timothy Pearson <[email protected]> | 2012-11-26 22:38:41 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-11-26 22:38:41 -0600 |
commit | 84f70969d95344d402d6f6152a6373469a3718ca (patch) | |
tree | d3a6920bee3803daefe819802bda3e257df8ddf2 /src/kernel/ntqeventloop.h | |
parent | bd87b2af9dde0633e56a792665cdec7a9675da95 (diff) | |
download | tqt3-84f70969d95344d402d6f6152a6373469a3718ca.tar.gz tqt3-84f70969d95344d402d6f6152a6373469a3718ca.zip |
Automated update from Qt3
Diffstat (limited to 'src/kernel/ntqeventloop.h')
-rw-r--r-- | src/kernel/ntqeventloop.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/kernel/ntqeventloop.h b/src/kernel/ntqeventloop.h index 9685159ca..23a3b38b4 100644 --- a/src/kernel/ntqeventloop.h +++ b/src/kernel/ntqeventloop.h @@ -44,6 +44,10 @@ #include "ntqsocketnotifier.h" #endif // QT_H +#if defined(QT_USE_GLIBMAINLOOP) +#include <glib.h> +#endif // QT_USE_GLIBMAINLOOP + class TQEventLoopPrivate; class TQSocketNotifier; class TQTimer; @@ -95,6 +99,22 @@ public: virtual void wakeUp(); +#if defined(QT_USE_GLIBMAINLOOP) + + // glib main loop support + + /* internal: used to fit glib-main-loop gsource concept */ + + bool gsourcePrepare(GSource *gs, int * timeout); + bool gsourceCheck(GSource * gs); + bool gsourceDispatch(GSource * gs); + + bool processX11Events(); + + // end glib main loop support + +#endif //QT_USE_GLIBMAINLOOP + signals: void awake(); void aboutToBlock(); |