summaryrefslogtreecommitdiffstats
path: root/tdestyles
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-02-13 11:10:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-15 10:29:09 +0900
commit5e51787f9af4fd86450fab9e787b4037a772bca3 (patch)
treea792ad1d832ef77fd48f6c545d5bf35f8490d6eb /tdestyles
parent3b1a091b3f8c0e88904ed2395e9d7efe590c9495 (diff)
downloadtdelibs-5e51787f9af4fd86450fab9e787b4037a772bca3.tar.gz
tdelibs-5e51787f9af4fd86450fab9e787b4037a772bca3.zip
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 03aa7238b34bb438632b6d572b008e32960f0895)
Diffstat (limited to 'tdestyles')
-rw-r--r--tdestyles/highcolor/highcolor.cpp2
-rw-r--r--tdestyles/keramik/keramik.cpp4
-rw-r--r--tdestyles/kthemestyle/kthemebase.cpp12
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 787f71385..b484836ef 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.