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-12 14:08:52 +0900 |
commit | 67bff2edcacb208dc44dcd521386bef686dc6dbf (patch) | |
tree | 538584042585402a59d4b1464b117033778ccc28 /tools/tqvfb | |
parent | fb401a891f1b426e9419c0cb16403df407138611 (diff) | |
download | tqt3-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 '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() |