From 3f5dc49edf41359f18e7c94c28a345a9600eb44f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 6 Dec 2012 16:48:15 -0600 Subject: Automated update from Qt3 --- src/kernel/ntqapplication.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/kernel/ntqapplication.h') diff --git a/src/kernel/ntqapplication.h b/src/kernel/ntqapplication.h index cdb7fdfc8..557658ae2 100644 --- a/src/kernel/ntqapplication.h +++ b/src/kernel/ntqapplication.h @@ -63,6 +63,7 @@ class TQWSDecoration; #ifdef QT_THREAD_SUPPORT class TQMutex; +class TQThread; #endif // QT_THREAD_SUPPORT @@ -369,7 +370,9 @@ private: #ifndef QT_NO_CURSOR static TQCursor *app_cursor; #endif +#ifndef QT_THREAD_SUPPORT static TQEventLoop* eventloop; +#endif static int app_tracking; static bool is_app_running; static bool is_app_closing; @@ -425,6 +428,7 @@ private: static void removePostedEvent( TQEvent * ); static void removePostedEvents( TQObject *receiver, int event_type ); + friend class TQObject; friend class TQWidget; friend class TQETWidget; friend class TQDialog; @@ -444,6 +448,15 @@ private: // Disabled copy constructor and operator= TQApplication( const TQApplication & ); TQApplication &operator=( const TQApplication & ); #endif + +private: + static TQEventLoop* currentEventLoop(); + +public: +#ifdef QT_THREAD_SUPPORT + static TQThread* guiThread(); +#endif + static bool isGuiThread(); }; inline int TQApplication::argc() const -- cgit v1.2.3