From 67bff2edcacb208dc44dcd521386bef686dc6dbf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 12 Feb 2024 14:08:42 +0900 Subject: 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 --- src/kernel/ntqwindowdefs.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/kernel/ntqwindowdefs.h') 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; -- cgit v1.2.1