From 33e2cf2d1ceff1515b2d7d2a2c29a48de63181b3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 22 Apr 2013 21:26:09 -0500 Subject: Automated update from Qt3 --- src/kernel/qeventloop_glib_p.h | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) (limited to 'src/kernel/qeventloop_glib_p.h') diff --git a/src/kernel/qeventloop_glib_p.h b/src/kernel/qeventloop_glib_p.h index 225054bf2..dc19986a9 100644 --- a/src/kernel/qeventloop_glib_p.h +++ b/src/kernel/qeventloop_glib_p.h @@ -75,8 +75,8 @@ class TQSocketNotifier; struct TQSockNotGPollFD { - TQSocketNotifier *obj; - GPollFD gPollFD; + TQSocketNotifier *obj; + GPollFD gPollFD; gushort events; // save events bool pending; }; @@ -84,25 +84,10 @@ struct TQSockNotGPollFD class TQEventLoopPrivate { public: - TQEventLoopPrivate() - { -#if defined(Q_WS_X11) - xfd = -1; - x_gPollFD.fd = -1; -#endif // Q_WS_X11 - singletoolkit = TRUE; - ctx = 0; - ctx_is_default = false; - reset(); - } - - void reset() { - looplevel = 0; - quitcode = 0; - quitnow = FALSE; - exitloop = FALSE; - shortcut = FALSE; - } + TQEventLoopPrivate(); + ~TQEventLoopPrivate(); + + void reset(); int looplevel; int quitcode; -- cgit v1.2.1