diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-12 14:08:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-14 21:06:27 +0900 |
commit | 473cd1e8a525d82f49e936d76daabe3d094a8807 (patch) | |
tree | dc0fe3faad1958b846eeebb02208728c0d278854 /tools/tqvfb | |
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 <michele.calgaro@yahoo.it>
(cherry picked from commit 67bff2edcacb208dc44dcd521386bef686dc6dbf)
Diffstat (limited to 'tools/tqvfb')
-rw-r--r-- | tools/tqvfb/skin.cpp | 4 | ||||
-rw-r--r-- | tools/tqvfb/tqvfb.cpp | 4 | ||||
-rw-r--r-- | tools/tqvfb/tqvfbview.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tools/tqvfb/skin.cpp b/tools/tqvfb/skin.cpp index ccee4fd8a..02a65b65b 100644 --- a/tools/tqvfb/skin.cpp +++ b/tools/tqvfb/skin.cpp @@ -40,7 +40,7 @@ #include <ntqtextstream.h> #include <ntqfile.h> #include <ntqpainter.h> -#ifdef Q_WS_MAC +#ifdef TQ_WS_MAC # include <qt_mac.h> #endif @@ -97,7 +97,7 @@ void Skin::setView( TQVFbView *v ) { view = v; view->move( viewX1, viewY1 ); -#ifdef Q_WS_MAC +#ifdef TQ_WS_MAC TQMacSavedPortInfo::setAlphaTransparancy(view, transparancy); #endif } diff --git a/tools/tqvfb/tqvfb.cpp b/tools/tqvfb/tqvfb.cpp index 1fb8ade04..5a5497432 100644 --- a/tools/tqvfb/tqvfb.cpp +++ b/tools/tqvfb/tqvfb.cpp @@ -229,10 +229,10 @@ void TQVFb::changeRate() void TQVFb::about() { -#if defined( Q_WS_MAC ) +#if defined( TQ_WS_MAC ) TQString platform("Mac OS X"); TQString qt("Mac"); -#elif defined( Q_WS_WIN ) +#elif defined( TQ_WS_WIN ) TQString platform("Windows"); TQString qt("Windows"); #else diff --git a/tools/tqvfb/tqvfbview.cpp b/tools/tqvfb/tqvfbview.cpp index d3ce8460b..b7639a6cf 100644 --- a/tools/tqvfb/tqvfbview.cpp +++ b/tools/tqvfb/tqvfbview.cpp @@ -32,7 +32,7 @@ **********************************************************************/ #include "ntqglobal.h" -#if !defined( Q_WS_QWS ) || defined( TQT_NO_QWS_MULTIPROCESS ) +#if !defined( TQ_WS_QWS ) || defined( TQT_NO_QWS_MULTIPROCESS ) #define TQLock TQWSSemaphore #undef TQT_NO_QWS_MULTIPROCESS #include "../../src/kernel/qlock.cpp" @@ -269,7 +269,7 @@ void TQVFbView::setRate( int r ) timer->start( 1000/r ); } -#ifndef Q_WS_QWS +#ifndef TQ_WS_QWS // Get the name of the directory where TQt/Embedded temporary data should // live. static TQString qws_dataDir() |