diff options
author | Michele Calgaro <[email protected]> | 2024-02-12 14:08:42 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-14 21:06:27 +0900 |
commit | 473cd1e8a525d82f49e936d76daabe3d094a8807 (patch) | |
tree | dc0fe3faad1958b846eeebb02208728c0d278854 /src/kernel/ntqnamespace.h | |
parent | ecca365daf06c711cf30f93f4c773dabf5642790 (diff) | |
download | tqt3-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 <[email protected]>
(cherry picked from commit 67bff2edcacb208dc44dcd521386bef686dc6dbf)
Diffstat (limited to 'src/kernel/ntqnamespace.h')
-rw-r--r-- | src/kernel/ntqnamespace.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kernel/ntqnamespace.h b/src/kernel/ntqnamespace.h index a8261be23..218529349 100644 --- a/src/kernel/ntqnamespace.h +++ b/src/kernel/ntqnamespace.h @@ -175,7 +175,7 @@ public: // documented in qwidget.cpp enum NETWMFlags { -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) WX11DisableMove = 0x00000001, WX11DisableClose = 0x00000002, WX11DisableResize = 0x00000004, @@ -226,12 +226,12 @@ public: WMouseNoMask = 0x00200000, WStaticContents = 0x00400000, WRepaintNoErase = 0x00800000, // OBSOLETE -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) WX11BypassWM = 0x01000000, WWinOwnDC = 0x00000000, WMacNoSheet = 0x00000000, WMacDrawer = 0x00000000, -#elif defined(Q_WS_MAC) +#elif defined(TQ_WS_MAC) WX11BypassWM = 0x00000000, WWinOwnDC = 0x00000000, WMacNoSheet = 0x01000000, @@ -246,7 +246,7 @@ public: WShowModal = 0x04000000, WNoMousePropagation = 0x08000000, WSubWindow = 0x10000000, -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) WStyle_Splash = 0x20000000, #else WStyle_Splash = WStyle_NoBorder | WMacNoSheet | WStyle_Tool | WWinOwnDC, @@ -1007,13 +1007,13 @@ public: // "handle" type for system objects. Documented as \internal in // qapplication.cpp -#if defined(Q_WS_MAC) +#if defined(TQ_WS_MAC) typedef void * HANDLE; -#elif defined(Q_WS_WIN) +#elif defined(TQ_WS_WIN) typedef void *HANDLE; -#elif defined(Q_WS_X11) +#elif defined(TQ_WS_X11) typedef unsigned long HANDLE; -#elif defined(Q_WS_QWS) +#elif defined(TQ_WS_QWS) typedef void * HANDLE; #endif }; |