diff options
author | Michele Calgaro <[email protected]> | 2024-02-12 14:08:42 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-14 21:06:27 +0900 |
commit | 473cd1e8a525d82f49e936d76daabe3d094a8807 (patch) | |
tree | dc0fe3faad1958b846eeebb02208728c0d278854 /src/widgets/qtitlebar.cpp | |
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 <[email protected]>
(cherry picked from commit 67bff2edcacb208dc44dcd521386bef686dc6dbf)
Diffstat (limited to 'src/widgets/qtitlebar.cpp')
-rw-r--r-- | src/widgets/qtitlebar.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/qtitlebar.cpp b/src/widgets/qtitlebar.cpp index d06e3dab5..97b2288e5 100644 --- a/src/widgets/qtitlebar.cpp +++ b/src/widgets/qtitlebar.cpp @@ -58,7 +58,7 @@ #ifndef TQT_NO_WORKSPACE #include "ntqworkspace.h" #endif -#if defined(Q_WS_WIN) +#if defined(TQ_WS_WIN) #include "qt_windows.h" #endif @@ -191,7 +191,7 @@ TQTitleBar::~TQTitleBar() d = 0; } -#ifdef Q_WS_WIN +#ifdef TQ_WS_WIN extern TQRgb qt_colorref2qrgb(COLORREF col); #endif @@ -201,7 +201,7 @@ void TQTitleBar::readColors() bool colorsInitialized = FALSE; -#ifdef Q_WS_WIN // ask system properties on windows +#ifdef TQ_WS_WIN // ask system properties on windows #ifndef SPI_GETGRADIENTCAPTIONS #define SPI_GETGRADIENTCAPTIONS 0x1008 #endif @@ -233,7 +233,7 @@ void TQTitleBar::readColors() } } } -#endif // Q_WS_WIN +#endif // TQ_WS_WIN if ( !colorsInitialized ) { pal.setColor( TQPalette::Active, TQColorGroup::Highlight, palette().active().highlight() ); pal.setColor( TQPalette::Active, TQColorGroup::Base, palette().active().highlight() ); |