summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqeventloop.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqeventloop.h')
-rw-r--r--qtinterface/tqeventloop.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/qtinterface/tqeventloop.h b/qtinterface/tqeventloop.h
index 8ae2c8f..c84284f 100644
--- a/qtinterface/tqeventloop.h
+++ b/qtinterface/tqeventloop.h
@@ -41,10 +41,21 @@ Boston, MA 02110-1301, USA.
#include <Qt/qeventloop.h>
#include <Qt/qabstracteventdispatcher.h>
-class TQEventLoop : public QAbstractEventDispatcher {
+class TQEventLoop : public QAbstractEventDispatcher, QEventLoop {
public:
static TQEventLoop *eventLoop ();
- //void WaitForMore ();
+
+ enum ProcessEvents {
+ AllEvents = QEventLoop::AllEvents,
+ ExcludeUserInput = QEventLoop::ExcludeUserInputEvents,
+ ExcludeSocketNotifiers = QEventLoop::ExcludeSocketNotifiers,
+ WaitForMore = QEventLoop::WaitForMoreEvents
+ };
+
+ typedef uint ProcessEventsFlags;
+
+ bool processEvents( ProcessEventsFlags flags );
+
};
#endif // USE_QT4