summaryrefslogtreecommitdiffstats
path: root/twin/clients/quartz/quartz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/clients/quartz/quartz.cpp')
-rw-r--r--twin/clients/quartz/quartz.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/twin/clients/quartz/quartz.cpp b/twin/clients/quartz/quartz.cpp
index b9762551c..31a0dbcf1 100644
--- a/twin/clients/quartz/quartz.cpp
+++ b/twin/clients/quartz/quartz.cpp
@@ -463,7 +463,7 @@ void QuartzButton::drawButton(TQPainter *p)
{
int xOff = (width()-10)/2;
int yOff = (height()-10)/2;
- p->setPen( Qt::black );
+ p->setPen( TQt::black );
p->drawPixmap(isDown() ? xOff+2: xOff+1, isDown() ? yOff+2 : yOff+1, *deco);
p->setPen( KDecoration::options()->color(KDecoration::ColorButtonBg, decoration()->isActive()).light(150) );
p->drawPixmap(isDown() ? xOff+1: xOff, isDown() ? yOff+1 : yOff, *deco);
@@ -723,7 +723,7 @@ void QuartzClient::paintEvent( TQPaintEvent* )
// Draw the title bar.
// ===================
int r_x, r_y, r_x2, r_y2;
- TQT_TQRECT_OBJECT(widget()->rect()).coords(&r_x, &r_y, &r_x2, &r_y2);
+ widget()->rect().coords(&r_x, &r_y, &r_x2, &r_y2);
const int titleEdgeLeft = layoutMetric(LM_TitleEdgeLeft);
const int titleEdgeTop = layoutMetric(LM_TitleEdgeTop);
const int titleEdgeRight = layoutMetric(LM_TitleEdgeRight);
@@ -783,7 +783,7 @@ void QuartzClient::paintEvent( TQPaintEvent* )
/////////////////////////////////
extern "C"
{
- KDE_EXPORT KDecorationFactory *create_factory()
+ TDE_EXPORT KDecorationFactory *create_factory()
{
Quartz::clientHandler = new Quartz::QuartzHandler();
return Quartz::clientHandler;