diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-12-07 20:07:01 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-12-07 20:07:01 -0600 |
commit | 3289e9c0d823a61384976d2c356b7523f093b886 (patch) | |
tree | b2fc32f23334c402b256610599467b878db91a69 /src/kernel/qeventloop_glib_p.h | |
parent | eb47d241d0212278f54d6f0defdd0ee4d0e4cf63 (diff) | |
download | tqt3-3289e9c0d823a61384976d2c356b7523f093b886.tar.gz tqt3-3289e9c0d823a61384976d2c356b7523f093b886.zip |
Automated update from Qt3
Diffstat (limited to 'src/kernel/qeventloop_glib_p.h')
-rw-r--r-- | src/kernel/qeventloop_glib_p.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/src/kernel/qeventloop_glib_p.h b/src/kernel/qeventloop_glib_p.h index 057bcf863..c67fdbd85 100644 --- a/src/kernel/qeventloop_glib_p.h +++ b/src/kernel/qeventloop_glib_p.h @@ -84,49 +84,49 @@ struct TQSockNotGPollFD class TQEventLoopPrivate { public: - TQEventLoopPrivate() - { - reset(); - } - - void reset() { - looplevel = 0; - quitcode = 0; - quitnow = FALSE; - exitloop = FALSE; - shortcut = FALSE; - singletoolkit = TRUE; - } - - int looplevel; - int quitcode; - unsigned int quitnow : 1; - unsigned int exitloop : 1; - unsigned int shortcut : 1; + TQEventLoopPrivate() + { + reset(); + } + + void reset() { + looplevel = 0; + quitcode = 0; + quitnow = FALSE; + exitloop = FALSE; + shortcut = FALSE; + singletoolkit = TRUE; + } + + int looplevel; + int quitcode; + unsigned int quitnow : 1; + unsigned int exitloop : 1; + unsigned int shortcut : 1; #if defined(Q_WS_X11) - int xfd; + int xfd; GPollFD x_gPollFD; #endif // Q_WS_X11 - int thread_pipe[2]; - + int thread_pipe[2]; GPollFD threadPipe_gPollFD; - - TQPtrList<TQSockNotGPollFD> sn_list; - // pending socket notifiers list - TQPtrList<TQSockNotGPollFD> sn_pending_list; - + TQPtrList<TQSockNotGPollFD> sn_list; + + // pending socket notifiers list + TQPtrList<TQSockNotGPollFD> sn_pending_list; + // store flags for one iteration uint pev_flags; - + // My GSource - GSource * gSource; bool singletoolkit; + // main context + GMainContext *ctx; }; #endif // TQEVENTLOOP_GLIB_P_H |