summaryrefslogtreecommitdiffstats
path: root/twin/clients/redmond/redmond.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/clients/redmond/redmond.cpp')
-rw-r--r--twin/clients/redmond/redmond.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/twin/clients/redmond/redmond.cpp b/twin/clients/redmond/redmond.cpp
index f3689af52..6deddeaee 100644
--- a/twin/clients/redmond/redmond.cpp
+++ b/twin/clients/redmond/redmond.cpp
@@ -210,9 +210,9 @@ static void create_pixmaps ()
// Make sure button pixmaps contrast with the current colour scheme.
if (tqGray(options()->color(KDecoration::ColorButtonBg, true).rgb()) > 127)
- btnForeground = new TQColor(Qt::black);
+ btnForeground = new TQColor(TQt::black);
else
- btnForeground = new TQColor(Qt::white);
+ btnForeground = new TQColor(TQt::white);
}
void delete_pixmaps()
@@ -283,7 +283,7 @@ void RedmondButton::setBitmap(const unsigned char *bitmap)
deco = TQBitmap(10, 10, bitmap, true);
else {
deco = TQBitmap(10,10);
- deco.fill(Qt::color0);
+ deco.fill(TQt::color0);
}
deco.setMask(deco);
}
@@ -556,7 +556,7 @@ void RedmondDeco::paintEvent( TQPaintEvent* )
TQImage image = KImageEffect::gradient(titleBuffer->size(), c1, c2,
KImageEffect::HorizontalGradient);
- titleBuffer->convertFromImage(image, Qt::OrderedDither);
+ titleBuffer->convertFromImage(image, TQt::OrderedDither);
}
TQPainter p2( titleBuffer, this );
@@ -695,5 +695,3 @@ extern "C" KDE_EXPORT KDecorationFactory *create_factory()
#include "redmond.moc"
-// vim: ts=4
-// kate: space-indent off; tab-width 4;