summaryrefslogtreecommitdiffstats
path: root/doc/html/qglobal-h.html
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 /doc/html/qglobal-h.html
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 'doc/html/qglobal-h.html')
-rw-r--r--doc/html/qglobal-h.html27
1 files changed, 19 insertions, 8 deletions
diff --git a/doc/html/qglobal-h.html b/doc/html/qglobal-h.html
index 0432bdf6a..bd41a2385 100644
--- a/doc/html/qglobal-h.html
+++ b/doc/html/qglobal-h.html
@@ -586,7 +586,7 @@ body { background: #ffffff; color: black; }
/*
- The window system, must be one of: (Q_WS_x)
+ The window system, must be one of: (TQ_WS_x)
MACX - Mac OS X
MAC9 - Mac OS 9
@@ -599,39 +599,50 @@ body { background: #ffffff; color: black; }
#if defined(Q_OS_MAC9)
# define Q_WS_MAC9
+# define TQ_WS_MAC9
#elif defined(Q_OS_MSDOS)
# define Q_WS_WIN16
+# define TQ_WS_WIN16
# error "TQt requires Win32 and does not work with Windows 3.x"
#elif defined(_WIN32_X11_)
# define Q_WS_X11
+# define TQ_WS_X11
#elif defined(Q_OS_WIN32)
# define Q_WS_WIN32
+# define TQ_WS_WIN32
# if defined(Q_OS_WIN64)
# define Q_WS_WIN64
+# define TQ_WS_WIN64
# endif
#elif defined(Q_OS_OS2)
# define Q_WS_PM
+# define TQ_WS_PM
# error "TQt does not work with OS/2 Presentation Manager or Workplace Shell"
#elif defined(Q_OS_UNIX)
# if defined(TQWS)
# define Q_WS_QWS
+# define TQ_WS_QWS
# define TQT_NO_QWS_IM
# elif defined(Q_OS_MACX)
# define Q_WS_MACX
+# define TQ_WS_MACX
# else
# define Q_WS_X11
+# define TQ_WS_X11
# endif
#endif
#if defined(Q_OS_MAC) &amp;&amp; !defined(TQMAC_PASCAL)
# define TQMAC_PASCAL
#endif
-#if defined(Q_WS_WIN16) || defined(Q_WS_WIN32)
+#if defined(TQ_WS_WIN16) || defined(TQ_WS_WIN32)
# define Q_WS_WIN
+# define TQ_WS_WIN
#endif
-#if (defined(Q_WS_MAC9) || defined(Q_WS_MACX)) &amp;&amp; !defined(Q_WS_QWS) &amp;&amp; !defined(Q_WS_X11)
+#if (defined(TQ_WS_MAC9) || defined(TQ_WS_MACX)) &amp;&amp; !defined(TQ_WS_QWS) &amp;&amp; !defined(TQ_WS_X11)
# define Q_WS_MAC
+# define TQ_WS_MAC
#endif
@@ -835,7 +846,7 @@ class TQDataStream;
# define TQT_NO_SQL
#endif
-#if defined(Q_WS_MAC9)
+#if defined(TQ_WS_MAC9)
//No need for menu merging
# ifndef TQMAC_QMENUBAR_NO_MERGE
# define TQMAC_QMENUBAR_NO_MERGE
@@ -848,7 +859,7 @@ class TQDataStream;
# define TQMAC_QMENUBAR_NO_EVENT
# endif
#endif
-#if defined(Q_WS_MACX) //for no nobody uses quartz, just putting in first level hooks
+#if defined(TQ_WS_MACX) //for no nobody uses quartz, just putting in first level hooks
# ifndef TQMAC_NO_QUARTZ
# define TQMAC_NO_QUARTZ
# endif
@@ -857,7 +868,7 @@ class TQDataStream;
# endif
#endif
-#if !defined(Q_WS_QWS) &amp;&amp; !defined(TQT_NO_COP)
+#if !defined(TQ_WS_QWS) &amp;&amp; !defined(TQT_NO_COP)
# define TQT_NO_COP
#endif
@@ -920,7 +931,7 @@ class TQDataStream;
// Some platform specific stuff
//
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
extern TQ_EXPORT bool qt_winunicode;
#endif
@@ -934,7 +945,7 @@ TQ_EXPORT bool tqSysInfo( int *wordSize, bool *bigEndian );
TQ_EXPORT bool tqSharedBuild();
#if defined(Q_OS_MAC)
int qMacVersion();
-#elif defined(Q_WS_WIN)
+#elif defined(TQ_WS_WIN)
TQ_EXPORT int qWinVersion();
#if defined(UNICODE)
#define QT_WA( uni, ansi ) if ( qt_winunicode ) { uni } else { ansi }