summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqfont.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-14 21:06:27 +0900
commit473cd1e8a525d82f49e936d76daabe3d094a8807 (patch)
treedc0fe3faad1958b846eeebb02208728c0d278854 /src/kernel/ntqfont.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 <michele.calgaro@yahoo.it> (cherry picked from commit 67bff2edcacb208dc44dcd521386bef686dc6dbf)
Diffstat (limited to 'src/kernel/ntqfont.h')
-rw-r--r--src/kernel/ntqfont.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kernel/ntqfont.h b/src/kernel/ntqfont.h
index 6f347e41..d2a45c98 100644
--- a/src/kernel/ntqfont.h
+++ b/src/kernel/ntqfont.h
@@ -165,11 +165,11 @@ public:
bool isCopyOf( const TQFont & ) const;
-#ifdef Q_WS_WIN
+#ifdef TQ_WS_WIN
HFONT handle() const;
-#else // !Q_WS_WIN
+#else // !TQ_WS_WIN
TQt::HANDLE handle() const;
-#endif // Q_WS_WIN
+#endif // TQ_WS_WIN
// needed for X11
@@ -191,11 +191,11 @@ public:
#endif //TQT_NO_STRINGLIST
static void initialize();
static void cleanup();
-#ifndef Q_WS_QWS
+#ifndef TQ_WS_QWS
static void cacheStatistics();
#endif
-#if defined(Q_WS_QWS)
+#if defined(TQ_WS_QWS)
void qwsRenderToDisk(bool all=TRUE);
#endif
@@ -320,9 +320,9 @@ private:
void detach();
-#if defined(Q_WS_MAC)
+#if defined(TQ_WS_MAC)
void macSetFont(TQPaintDevice *);
-#elif defined(Q_WS_X11)
+#elif defined(TQ_WS_X11)
void x11SetScreen( int screen = -1 );
int x11Screen() const;
#endif
@@ -337,7 +337,7 @@ private:
friend class TQTextLayout;
friend class TQTextItem;
friend class TQGLContext;
-#if defined(Q_WS_X11) && !defined(TQT_NO_XFTFREETYPE)
+#if defined(TQ_WS_X11) && !defined(TQT_NO_XFTFREETYPE)
friend TQt::HANDLE qt_xft_handle(const TQFont &font);
#endif
#ifndef TQT_NO_DATASTREAM