diff options
author | Michele Calgaro <[email protected]> | 2018-09-18 01:19:46 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-09-18 01:19:46 +0900 |
commit | 2df70f03d493f5226821dd2e1da3759e3abceb02 (patch) | |
tree | f105d7829be7401bd27b833e0e26cf64c6a62ad1 /src/kernel/qapplication.h | |
parent | f849f22528ee9eb5eeb1f9aa92822846b2b3e01f (diff) | |
download | qt3-2df70f03d493f5226821dd2e1da3759e3abceb02.tar.gz qt3-2df70f03d493f5226821dd2e1da3759e3abceb02.zip |
Revert "QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module"
The original commit was a mistake and should not have been pushed.
This reverts commit f849f22528ee9eb5eeb1f9aa92822846b2b3e01f.
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 |