summaryrefslogtreecommitdiffstats
path: root/src/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-09-16 22:30:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-09-16 22:30:57 +0900
commit02964eb384e1b5a73a198d04262497607d81e38f (patch)
tree56b694b9d973c7906f9960a2029068dc44791c2b /src/kernel/qwidget.cpp
parent1fb89fa15488ff396623fc275242b8ed149f4c1e (diff)
downloadtqt3-02964eb384e1b5a73a198d04262497607d81e38f.tar.gz
tqt3-02964eb384e1b5a73a198d04262497607d81e38f.zip
Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT. This is part of the
qt->tqt conversion and is required to align to corresponding patch for common/admin module. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/qwidget.cpp')
-rw-r--r--src/kernel/qwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qwidget.cpp b/src/kernel/qwidget.cpp
index e37fa303d..b3a630bcf 100644
--- a/src/kernel/qwidget.cpp
+++ b/src/kernel/qwidget.cpp
@@ -56,7 +56,7 @@
#include "ntqstyle.h"
#include "ntqmetaobject.h"
#include "ntqguardedptr.h"
-#if defined(QT_THREAD_SUPPORT)
+#if defined(TQT_THREAD_SUPPORT)
#include "ntqthread.h"
#endif
#if defined(QT_ACCESSIBILITY_SUPPORT)
@@ -890,7 +890,7 @@ TQWidget::TQWidget( TQWidget *parent, const char *name, WFlags f, NFlags n )
}
#endif
-#if defined(QT_THREAD_SUPPORT) && defined(QT_CHECK_STATE)
+#if defined(TQT_THREAD_SUPPORT) && defined(QT_CHECK_STATE)
if (TQThread::currentThreadObject() != TQApplication::guiThread()) {
tqFatal( "TQWidget: Cannot create a TQWidget outside of the main GUI thread" );
}