diff options
| author | Alexander Golubev <fatzer2@gmail.com> | 2024-03-12 01:19:14 +0300 |
|---|---|---|
| committer | Alexander Golubev <fatzer2@gmail.com> | 2024-03-14 00:11:47 +0300 |
| commit | f7642b09c9e61f71e434aeb0ceb330d2ccaa25db (patch) | |
| tree | 24caf3ca34bc91f4c3ea20b8fc436fdd71c44925 /src/kernel/ntqapplication.h | |
| parent | fa4475f36d6404a70d760ca95ac6a986a8846a3f (diff) | |
| download | tqt-f7642b09c9e61f71e434aeb0ceb330d2ccaa25db.tar.gz tqt-f7642b09c9e61f71e434aeb0ceb330d2ccaa25db.zip | |
TQT_THREAD_SUPPORT->!TQT_NO_THREAD: migrate sources
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'src/kernel/ntqapplication.h')
| -rw-r--r-- | src/kernel/ntqapplication.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kernel/ntqapplication.h b/src/kernel/ntqapplication.h index 4696b290e..8cecb73e8 100644 --- a/src/kernel/ntqapplication.h +++ b/src/kernel/ntqapplication.h @@ -61,10 +61,10 @@ class TQIMEvent; class TQWSDecoration; #endif -#ifdef TQT_THREAD_SUPPORT +#ifndef TQT_NO_THREAD class TQMutex; class TQThread; -#endif // TQT_THREAD_SUPPORT +#endif // TQT_NO_THREAD class TQApplication; @@ -297,7 +297,7 @@ public: static bool x11_apply_settings(); #endif void wakeUpGuiThread(); -#if defined(TQT_THREAD_SUPPORT) +#ifndef TQT_NO_THREAD void lock(); void unlock(bool wakeUpGui = TRUE); bool locked(); @@ -354,9 +354,9 @@ private slots: #endif public: -#ifdef TQT_THREAD_SUPPORT +#ifndef TQT_NO_THREAD static TQMutex *tqt_mutex; -#endif // TQT_THREAD_SUPPORT +#endif // TQT_NO_THREAD private: int app_argc; @@ -372,7 +372,7 @@ private: #ifndef TQT_NO_CURSOR static TQCursor *app_cursor; #endif -#ifndef TQT_THREAD_SUPPORT +#if defined(TQT_NO_THREAD) static TQEventLoop* eventloop; #endif static int app_tracking; @@ -436,9 +436,9 @@ private: friend class TQDialog; friend class TQAccelManager; friend class TQEvent; -#ifdef TQT_THREAD_SUPPORT +#ifndef TQT_NO_THREAD friend class TQThread; -#endif // TQT_THREAD_SUPPORT +#endif // TQT_NO_THREAD friend class TQTranslator; friend class TQEventLoop; friend TQ_EXPORT void tqt_ucm_initialize( TQApplication * ); @@ -458,7 +458,7 @@ private: static TQEventLoop* currentEventLoop(); public: -#ifdef TQT_THREAD_SUPPORT +#ifndef TQT_NO_THREAD static TQThread* guiThread(); static void threadTerminationHandler( TQThread * ); #endif |
