summaryrefslogtreecommitdiffstats
path: root/src/styles/tqplatinumstyle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/tqplatinumstyle.cpp')
-rw-r--r--src/styles/tqplatinumstyle.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/styles/tqplatinumstyle.cpp b/src/styles/tqplatinumstyle.cpp
index 4050f075e..71e9ae3ae 100644
--- a/src/styles/tqplatinumstyle.cpp
+++ b/src/styles/tqplatinumstyle.cpp
@@ -796,9 +796,9 @@ void TQPlatinumStyle::drawControl( ControlElement element,
|| ( (!ceData.fgPixmap.isNull()) &&
(ceData.rect.width() * ceData.rect.height() < 1600 ||
TQABS( ceData.rect.width() - ceData.rect.height()) < 10 )) )
- useBevelButton = TRUE;
+ useBevelButton = true;
else
- useBevelButton = FALSE;
+ useBevelButton = false;
int diw = pixelMetric( PM_ButtonDefaultIndicator, ceData, elementFlags, widget );
if ( elementFlags & CEF_IsDefault ) {
@@ -1119,7 +1119,7 @@ void TQPlatinumStyle::drawComplexControl( ComplexControl control,
// end comboButtonRect...
ir.setRect( ir.left() - 1, ir.top() - 1, ir.width() + 2,
ir.height() + 2 );
- qDrawShadePanel( p, ir, cg, TRUE, 2, 0 );
+ qDrawShadePanel( p, ir, cg, true, 2, 0 );
}
}
#endif
@@ -1260,7 +1260,7 @@ void TQPlatinumStyle::drawComplexControl( ComplexControl control,
p->drawLine( x1 + 1, y2 - 1, x2 -my + 2, y2 - 1 );
drawRiffles( p, handle.x(), handle.y() + 2, handle.width() - 3,
- handle.height() - 4, cg, TRUE );
+ handle.height() - 4, cg, true );
} else { // Horizontal
TQBrush oldBrush = p->brush();
p->setBrush( cg.brush( TQColorGroup::Button ) );
@@ -1297,7 +1297,7 @@ void TQPlatinumStyle::drawComplexControl( ComplexControl control,
p->drawLine( x1 + mx - 2, y2 - 1, x1 + mx + 2, y2 - 1 );
drawRiffles( p, handle.x() + 2, handle.y(), handle.width() - 4,
- handle.height() - 5, cg, FALSE );
+ handle.height() - 5, cg, false );
}
}