diff options
Diffstat (limited to 'qtinterface/interface_tqt3/tqeventloop.h')
-rw-r--r-- | qtinterface/interface_tqt3/tqeventloop.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/qtinterface/interface_tqt3/tqeventloop.h b/qtinterface/interface_tqt3/tqeventloop.h index d887757..f23cbdc 100644 --- a/qtinterface/interface_tqt3/tqeventloop.h +++ b/qtinterface/interface_tqt3/tqeventloop.h @@ -23,41 +23,6 @@ Boston, MA 02110-1301, USA. #define TQT_TQEVENTLOOP_H #include <tqt.h> - -#ifdef USE_QT3 - -// Reimplement the QEventLoop class -// For Qt3, no changes are needed - #include <ntqeventloop.h> -#endif // USE_QT3 - -#ifdef USE_QT4 - -// Reimplement the QEventLoop class -// For Qt4, some changes are needed - -#include <Qt/ntqeventloop.h> -#include <Qt/qabstracteventdispatcher.h> - -class TQEventLoop : public QAbstractEventDispatcher, QEventLoop { -public: - static TQEventLoop *eventLoop (); - - enum ProcessEvents { - AllEvents = QEventLoop::AllEvents, - ExcludeUserInput = QEventLoop::ExcludeUserInputEvents, - ExcludeSocketNotifiers = QEventLoop::ExcludeSocketNotifiers, - WaitForMore = QEventLoop::WaitForMoreEvents - }; - - typedef uint ProcessEventsFlags; - - bool processEvents( ProcessEventsFlags flags ); - -}; - -#endif // USE_QT4 - #endif /* TQT_TQEVENTLOOP_H */ |