diff --git a/src/kernel/ntqapplication.h b/src/kernel/ntqapplication.h index ce8aa3d8..fdf75aa5 100644 --- a/src/kernel/ntqapplication.h +++ b/src/kernel/ntqapplication.h @@ -435,7 +435,9 @@ private: friend class TQDialog; friend class TQAccelManager; friend class TQEvent; +#ifdef QT_THREAD_SUPPORT friend class TQThread; +#endif // QT_THREAD_SUPPORT friend class TQTranslator; friend class TQEventLoop; friend Q_EXPORT void tqt_ucm_initialize( TQApplication * ); @@ -457,9 +459,9 @@ private: public: #ifdef QT_THREAD_SUPPORT static TQThread* guiThread(); + static void threadTerminationHandler( TQThread * ); #endif static bool isGuiThread(); - static void threadTerminationHandler( TQThread * ); }; inline int TQApplication::argc() const