summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqwindowdefs.h
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-12 14:08:52 +0900
commit67bff2edcacb208dc44dcd521386bef686dc6dbf (patch)
tree538584042585402a59d4b1464b117033778ccc28 /src/kernel/ntqwindowdefs.h
parentfb401a891f1b426e9419c0cb16403df407138611 (diff)
downloadtqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.tar.gz
tqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.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>
Diffstat (limited to 'src/kernel/ntqwindowdefs.h')
-rw-r--r--src/kernel/ntqwindowdefs.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kernel/ntqwindowdefs.h b/src/kernel/ntqwindowdefs.h
index 6ec8f7796..4af074cc9 100644
--- a/src/kernel/ntqwindowdefs.h
+++ b/src/kernel/ntqwindowdefs.h
@@ -92,7 +92,7 @@ class TQWidgetListIt;
// Window system dependent definitions
-#if defined(Q_WS_MAC)
+#if defined(TQ_WS_MAC)
#if QT_MACOSX_VERSION < 0x1020
typedef struct OpaqueEventLoopTimerRef* EventLoopTimerRef;
typedef struct OpaqueMenuHandle *MenuRef;
@@ -101,7 +101,7 @@ typedef struct __EventLoopTimer* EventLoopTimerRef;
typedef struct OpaqueMenuRef* MenuRef;
#endif
-#ifndef Q_WS_MACX
+#ifndef TQ_WS_MACX
typedef struct CGContext *CGContextRef;
#endif
typedef struct OpaqueWindowGroupRef *WindowGroupRef;
@@ -128,18 +128,18 @@ typedef void * MSG;
typedef int WId;
typedef struct AEDesc AppleEvent;
-#endif // Q_WS_MAC
+#endif // TQ_WS_MAC
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
#include "qwindowdefs_win.h"
-#endif // Q_WS_WIN
+#endif // TQ_WS_WIN
#if defined(Q_OS_TEMP)
#include "qwinfunctions_wce.h"
#endif // Q_OS_TEMP
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
typedef struct _XDisplay Display;
typedef union _XEvent XEvent;
@@ -156,15 +156,15 @@ TQ_EXPORT GC tqt_xget_temp_gc( int scrn, bool monochrome );
TQ_EXPORT const char *tqAppClass(); // get application class
-#endif // Q_WS_X11
+#endif // TQ_WS_X11
-#if defined(Q_WS_QWS)
+#if defined(TQ_WS_QWS)
typedef unsigned long WId;
struct TQWSEvent;
class TQGfx;
-#endif // Q_WS_QWS
+#endif // TQ_WS_QWS
class TQApplication;