summaryrefslogtreecommitdiffstats
path: root/src/kernel/qeventloop_glib_p.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-22 21:26:09 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-22 21:26:09 -0500
commit33e2cf2d1ceff1515b2d7d2a2c29a48de63181b3 (patch)
tree62561b9fa092a2fec2ccf8b2eb00ffd924d6b207 /src/kernel/qeventloop_glib_p.h
parentd359f91916add61887865a3f8931086c8b4b0a53 (diff)
downloadtqt3-33e2cf2d1ceff1515b2d7d2a2c29a48de63181b3.tar.gz
tqt3-33e2cf2d1ceff1515b2d7d2a2c29a48de63181b3.zip
Automated update from Qt3
Diffstat (limited to 'src/kernel/qeventloop_glib_p.h')
-rw-r--r--src/kernel/qeventloop_glib_p.h27
1 files changed, 6 insertions, 21 deletions
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;