summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqcursor.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-12 14:08:42 +0900
committerMichele Calgaro <[email protected]>2024-02-14 21:06:27 +0900
commit473cd1e8a525d82f49e936d76daabe3d094a8807 (patch)
treedc0fe3faad1958b846eeebb02208728c0d278854 /src/kernel/ntqcursor.h
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 <[email protected]> (cherry picked from commit 67bff2edcacb208dc44dcd521386bef686dc6dbf)
Diffstat (limited to 'src/kernel/ntqcursor.h')
-rw-r--r--src/kernel/ntqcursor.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/ntqcursor.h b/src/kernel/ntqcursor.h
index 8e7b10ce2..d67ed55e8 100644
--- a/src/kernel/ntqcursor.h
+++ b/src/kernel/ntqcursor.h
@@ -88,15 +88,15 @@ public:
const TQBitmap *mask() const;
TQPoint hotSpot() const;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
HCURSOR handle() const;
TQCursor( HCURSOR );
-#elif defined(Q_WS_X11)
+#elif defined(TQ_WS_X11)
HANDLE handle() const;
TQCursor( HANDLE );
-#elif defined(Q_WS_MAC)
+#elif defined(TQ_WS_MAC)
HANDLE handle() const;
-#elif defined(Q_WS_QWS)
+#elif defined(TQ_WS_QWS)
HANDLE handle() const;
#endif
@@ -107,7 +107,7 @@ public:
static void initialize();
static void cleanup();
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
static int x11Screen();
#endif
private:
@@ -116,7 +116,7 @@ private:
void update() const;
TQCursorData *data;
TQCursor *find_cur(int);
-#if defined(Q_WS_MAC)
+#if defined(TQ_WS_MAC)
friend void qt_mac_set_cursor(const TQCursor *c, const Point *p);
#endif
};