diff options
Diffstat (limited to 'src/kernel/qapplication.h')
-rw-r--r-- | src/kernel/qapplication.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kernel/qapplication.h b/src/kernel/qapplication.h index bc24bc6..dca2138 100644 --- a/src/kernel/qapplication.h +++ b/src/kernel/qapplication.h @@ -61,10 +61,10 @@ class QIMEvent; class QWSDecoration; #endif -#ifdef TQT_THREAD_SUPPORT +#ifdef QT_THREAD_SUPPORT class QMutex; class QThread; -#endif // TQT_THREAD_SUPPORT +#endif // QT_THREAD_SUPPORT class QApplication; @@ -297,7 +297,7 @@ public: static bool x11_apply_settings(); #endif void wakeUpGuiThread(); -#if defined(TQT_THREAD_SUPPORT) +#if defined(QT_THREAD_SUPPORT) void lock(); void unlock(bool wakeUpGui = TRUE); bool locked(); @@ -354,9 +354,9 @@ private slots: #endif public: -#ifdef TQT_THREAD_SUPPORT +#ifdef QT_THREAD_SUPPORT static QMutex *qt_mutex; -#endif // TQT_THREAD_SUPPORT +#endif // QT_THREAD_SUPPORT private: int app_argc; @@ -372,7 +372,7 @@ private: #ifndef QT_NO_CURSOR static QCursor *app_cursor; #endif -#ifndef TQT_THREAD_SUPPORT +#ifndef QT_THREAD_SUPPORT static QEventLoop* eventloop; #endif static int app_tracking; @@ -436,9 +436,9 @@ private: friend class QDialog; friend class QAccelManager; friend class QEvent; -#ifdef TQT_THREAD_SUPPORT +#ifdef QT_THREAD_SUPPORT friend class QThread; -#endif // TQT_THREAD_SUPPORT +#endif // QT_THREAD_SUPPORT friend class QTranslator; friend class QEventLoop; friend Q_EXPORT void qt_ucm_initialize( QApplication * ); @@ -458,7 +458,7 @@ private: static QEventLoop* currentEventLoop(); public: -#ifdef TQT_THREAD_SUPPORT +#ifdef QT_THREAD_SUPPORT static QThread* guiThread(); static void threadTerminationHandler( QThread * ); #endif |