diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-13 11:10:37 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-15 10:21:34 +0900 |
commit | 03aa7238b34bb438632b6d572b008e32960f0895 (patch) | |
tree | 11395aba8fd4cb1f52f0a831c61febf61337dab7 /tdestyles | |
parent | 15d75fb42da10a93a9c371fea8eb0baf281e0d44 (diff) | |
download | tdelibs-03aa7238b34bb438632b6d572b008e32960f0895.tar.gz tdelibs-03aa7238b34bb438632b6d572b008e32960f0895.zip |
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdestyles')
-rw-r--r-- | tdestyles/highcolor/highcolor.cpp | 2 | ||||
-rw-r--r-- | tdestyles/keramik/keramik.cpp | 4 | ||||
-rw-r--r-- | tdestyles/kthemestyle/kthemebase.cpp | 12 |
3 files changed, 9 insertions, 9 deletions
diff --git a/tdestyles/highcolor/highcolor.cpp b/tdestyles/highcolor/highcolor.cpp index 5f82d8f0a..9cf26d102 100644 --- a/tdestyles/highcolor/highcolor.cpp +++ b/tdestyles/highcolor/highcolor.cpp @@ -240,7 +240,7 @@ void HighColorStyle::renderMenuBlendPixmap( KPixmap& pix, const TQColorGroup &cg { TQColor col = cg.button(); -#ifdef Q_WS_X11 // Only draw menu gradients on TrueColor, X11 visuals +#ifdef TQ_WS_X11 // Only draw menu gradients on TrueColor, X11 visuals if ( TQPaintDevice::x11AppDepth() >= 24 ) KPixmapEffect::gradient( pix, col.light(120), col.dark(115), KPixmapEffect::HorizontalGradient ); diff --git a/tdestyles/keramik/keramik.cpp b/tdestyles/keramik/keramik.cpp index b773ad2a8..65603b30f 100644 --- a/tdestyles/keramik/keramik.cpp +++ b/tdestyles/keramik/keramik.cpp @@ -179,7 +179,7 @@ void KeramikStyle::renderMenuBlendPixmap( KPixmap& pix, const TQColorGroup &cg, { TQColor col = cg.button(); -#ifdef Q_WS_X11 // Only draw menu gradients on TrueColor, X11 visuals +#ifdef TQ_WS_X11 // Only draw menu gradients on TrueColor, X11 visuals if ( TQPaintDevice::x11AppDepth() >= 24 ) KPixmapEffect::gradient( pix, col.light(120), col.dark(115), KPixmapEffect::HorizontalGradient ); @@ -2778,7 +2778,7 @@ TQRect KeramikStyle::querySubControlMetrics( ComplexControl control, #include <config.h> -#if !defined Q_WS_X11 || defined K_WS_QTONLY +#if !defined TQ_WS_X11 || defined K_WS_QTONLY #undef HAVE_X11_EXTENSIONS_SHAPE_H #endif diff --git a/tdestyles/kthemestyle/kthemebase.cpp b/tdestyles/kthemestyle/kthemebase.cpp index d9539c096..c666e2c86 100644 --- a/tdestyles/kthemestyle/kthemebase.cpp +++ b/tdestyles/kthemestyle/kthemebase.cpp @@ -439,7 +439,7 @@ void KThemeBase::readConfig( TQt::GUIStyle /*style*/ ) { if ( config.entryList( configFileName + widgetEntries[ i ] ).size() ) applyResourceGroup( &config, i ); -#ifndef Q_WS_QWS //FIXME +#ifndef TQ_WS_QWS //FIXME else { @@ -617,7 +617,7 @@ void KThemeBase::applyConfigFile( TQSettings& config ) d->overrideWindowForeground = false; -#ifndef Q_WS_QWS //FIXME +#ifndef TQ_WS_QWS //FIXME for ( int input = 0; input < WIDGETS; ++input ) { @@ -1111,7 +1111,7 @@ TQColorGroup* KThemeBase::makeColorGroup( const TQColor &fg, const TQColor &bg, void KThemeBase::applyMiscResourceGroup( TQSettings *config ) { -#ifndef Q_WS_QWS //FIXME +#ifndef TQ_WS_QWS //FIXME d->props.erase( "Misc" ); // clear the old property TQString base = configFileName + "Misc/"; @@ -1181,7 +1181,7 @@ static TQColor readColorEntry( Prop& prop, TQString setting, const TQColor& def void KThemeBase::readMiscResourceGroup() { -#ifndef Q_WS_QWS //FIXME +#ifndef TQ_WS_QWS //FIXME Prop & prop = d->props[ "Misc" ]; sbPlacement = ( SButton ) readNumEntry( prop, "SButtonPosition", @@ -1198,7 +1198,7 @@ void KThemeBase::readMiscResourceGroup() void KThemeBase::applyResourceGroup( TQSettings *config, int i ) { -#ifndef Q_WS_QWS //FIXME +#ifndef TQ_WS_QWS //FIXME TQString tmpStr; int tmpVal; @@ -1357,7 +1357,7 @@ void KThemeBase::applyResourceGroup( TQSettings *config, int i ) void KThemeBase::readResourceGroup( int i, TQString *pixnames, TQString *brdnames, bool *loadArray ) { -#ifndef Q_WS_QWS //FIXME +#ifndef TQ_WS_QWS //FIXME if ( loadArray[ i ] == true ) { return ; // already been preloaded. |