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-12 14:08:52 +0900
commit67bff2edcacb208dc44dcd521386bef686dc6dbf (patch)
tree538584042585402a59d4b1464b117033778ccc28 /src/kernel/ntqfont.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/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