diff options
Diffstat (limited to 'qtinterface/tqeventloop.cpp')
-rw-r--r-- | qtinterface/tqeventloop.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qtinterface/tqeventloop.cpp b/qtinterface/tqeventloop.cpp index b33fd67..85dc0da 100644 --- a/qtinterface/tqeventloop.cpp +++ b/qtinterface/tqeventloop.cpp @@ -21,3 +21,12 @@ Boston, MA 02110-1301, USA. #include <tqt.h> #include <tqeventloop.h> + +#ifdef USE_QT4 + +static TQEventLoop *eventLoop () +{ + return static_cast<TQEventLoop *>(QAbstractEventDispatcher::instance()); +} + +#endif
\ No newline at end of file |