summaryrefslogtreecommitdiffstats
path: root/kcontrol/colors/widgetcanvas.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-25 18:08:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-05-27 10:26:17 +0900
commit7f36db4704fe1e47683ecc8e07654b4762edd725 (patch)
treeefd584e0370eaaf5540ecbd6e588f4012a212900 /kcontrol/colors/widgetcanvas.cpp
parentecaede25a924ea84ed48a164299a9d96a7976b1f (diff)
downloadtdebase-7f36db4704fe1e47683ecc8e07654b4762edd725.tar.gz
tdebase-7f36db4704fe1e47683ecc8e07654b4762edd725.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0a439ac80bdf6ffb9cac104ad3098a321ee0403c)
Diffstat (limited to 'kcontrol/colors/widgetcanvas.cpp')
-rw-r--r--kcontrol/colors/widgetcanvas.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kcontrol/colors/widgetcanvas.cpp b/kcontrol/colors/widgetcanvas.cpp
index 81399b438..8b829494c 100644
--- a/kcontrol/colors/widgetcanvas.cpp
+++ b/kcontrol/colors/widgetcanvas.cpp
@@ -344,7 +344,7 @@ void WidgetCanvas::drawSampleWidgets()
// Inactive window
- qDrawWinPanel ( &paint, 15, 5, width()-48, height(), cg, FALSE,
+ qDrawWinPanel ( &paint, 15, 5, width()-48, height(), cg, false,
&brush);
paint.setBrush( iaTitle );
@@ -392,7 +392,7 @@ void WidgetCanvas::drawSampleWidgets()
// Active window
- qDrawWinPanel ( &paint, 20, 25+5, width()-40, height(), cg, FALSE,
+ qDrawWinPanel ( &paint, 20, 25+5, width()-40, height(), cg, false,
&brush);
paint.setBrush( aTitle );paint.setPen( aTitle );
@@ -432,7 +432,7 @@ void WidgetCanvas::drawSampleWidgets()
// Menu bar
- //qDrawShadePanel ( &paint, 25, 55, width()-52, 28, cg, FALSE, 2, &brush);
+ //qDrawShadePanel ( &paint, 25, 55, width()-52, 28, cg, false, 2, &brush);
kapp->style().drawPrimitive(TQStyle::PE_PanelMenuBar, &paint,
TQRect(TQPoint(25, 55), TQSize(width()-52, 28)), cg);
@@ -440,7 +440,7 @@ void WidgetCanvas::drawSampleWidgets()
paint.setPen(txt );
TQString file = i18n("File");
textLen = paint.fontMetrics().width( file );
- //qDrawShadePanel ( &paint, 30, 59, textLen + 10, 21, cg, FALSE, 2, &brush);
+ //qDrawShadePanel ( &paint, 30, 59, textLen + 10, 21, cg, false, 2, &brush);
kapp->style().drawPrimitive(TQStyle::PE_Panel, &paint,
TQRect(30, 59, textLen + 10, 21), cg);
paint.drawText( 35, 74, file );
@@ -463,7 +463,7 @@ void WidgetCanvas::drawSampleWidgets()
brush.setColor( window );
qDrawShadePanel ( &paint, 25, 80+5-4, width()-7-45-2,
- height(), cg, TRUE, 2, &brush);
+ height(), cg, true, 2, &brush);
// Standard text
TQFont fnt = TDEGlobalSettings::generalFont();
@@ -583,12 +583,12 @@ void WidgetCanvas::drawSampleWidgets()
// Valance
qDrawWinPanel ( &paint, 0, 0, width(), height(),
- parentWidget()->colorGroup(), TRUE, 0);
+ parentWidget()->colorGroup(), true, 0);
// Stop the painting
hotspots[ spot++ ] =
HotSpot( TQRect( 0, 0, width(), height() ), CSM_Background ); // ?
- repaint( FALSE );
+ repaint( false );
}