summaryrefslogtreecommitdiffstats
path: root/tools/designer/designer/designerapp.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-02-12 14:08:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-14 21:06:27 +0900
commit473cd1e8a525d82f49e936d76daabe3d094a8807 (patch)
treedc0fe3faad1958b846eeebb02208728c0d278854 /tools/designer/designer/designerapp.cpp
parentecca365daf06c711cf30f93f4c773dabf5642790 (diff)
downloadtqt3-473cd1e8a525d82f49e936d76daabe3d094a8807.tar.gz
tqt3-473cd1e8a525d82f49e936d76daabe3d094a8807.zip
Replace Q_WS_* defines with TQ_WS_* equivalents
This is the first part of the replacement process. Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*. Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow TDE code to continue building till replacement is carried over to all other modules. Once that is completed, the original Q_WS_* defines will be removed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 67bff2edcacb208dc44dcd521386bef686dc6dbf)
Diffstat (limited to 'tools/designer/designer/designerapp.cpp')
-rw-r--r--tools/designer/designer/designerapp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/designer/designer/designerapp.cpp b/tools/designer/designer/designerapp.cpp
index caa4b0b3..370558d7 100644
--- a/tools/designer/designer/designerapp.cpp
+++ b/tools/designer/designer/designerapp.cpp
@@ -41,7 +41,7 @@
#include <ntqsettings.h>
#include <ntqsplashscreen.h>
-#ifdef Q_WS_WIN
+#ifdef TQ_WS_WIN
#include <qt_windows.h>
#include <process.h>
#endif
@@ -61,7 +61,7 @@ void set_splash_status( const TQString &txt )
TQ_EXPORT DesignerApplication::DesignerApplication( int &argc, char **argv )
: TQApplication( argc, argv )
{
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
if ( winVersion() & TQt::WV_NT_based )
DESIGNER_OPENFILE = RegisterWindowMessage((TCHAR*)"QT_DESIGNER_OPEN_FILE");
else
@@ -136,7 +136,7 @@ void DesignerApplication::setSettingsKey( const TQString &key )
*settings_key = key;
}
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
bool DesignerApplication::winEventFilter( MSG *msg )
{
if ( msg->message == DESIGNER_OPENFILE ) {