summaryrefslogtreecommitdiffstats
path: root/kcontrol/colors
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-24 10:55:29 +0900
committerMichele Calgaro <[email protected]>2023-11-24 10:55:29 +0900
commit36f2e08fd382c7042fbd3c8e7708f3ba1b9c9bd7 (patch)
tree222466bbb080055ec26887c15fe2c59ad308f2fe /kcontrol/colors
parente4c9b13a62c5b357106022afdd21767f429c5b8d (diff)
downloadtdebase-36f2e08fd382c7042fbd3c8e7708f3ba1b9c9bd7.tar.gz
tdebase-36f2e08fd382c7042fbd3c8e7708f3ba1b9c9bd7.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kcontrol/colors')
-rw-r--r--kcontrol/colors/widgetcanvas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/colors/widgetcanvas.cpp b/kcontrol/colors/widgetcanvas.cpp
index e93452caa..d83b821bd 100644
--- a/kcontrol/colors/widgetcanvas.cpp
+++ b/kcontrol/colors/widgetcanvas.cpp
@@ -435,7 +435,7 @@ void WidgetCanvas::drawSampleWidgets()
// Menu bar
//qDrawShadePanel ( &paint, 25, 55, width()-52, 28, cg, FALSE, 2, &brush);
- kapp->style().tqdrawPrimitive(TQStyle::PE_PanelMenuBar, &paint,
+ kapp->style().drawPrimitive(TQStyle::PE_PanelMenuBar, &paint,
TQRect(TQPoint(25, 55), TQSize(width()-52, 28)), cg);
paint.setFont( menuFont );
@@ -443,7 +443,7 @@ void WidgetCanvas::drawSampleWidgets()
TQString file = i18n("File");
textLen = paint.fontMetrics().width( file );
//qDrawShadePanel ( &paint, 30, 59, textLen + 10, 21, cg, FALSE, 2, &brush);
- kapp->style().tqdrawPrimitive(TQStyle::PE_Panel, &paint,
+ kapp->style().drawPrimitive(TQStyle::PE_Panel, &paint,
TQRect(30, 59, textLen + 10, 21), cg);
paint.drawText( 35, 74, file );
@@ -528,7 +528,7 @@ void WidgetCanvas::drawSampleWidgets()
cg2.setColor(TQColorGroup::Button, button);
cg2.setColor(TQColorGroup::Background, window);
//qDrawWinButton(&paint, xpos, ypos, textLen+32, 28, cg, false, &brush);
- kapp->style().tqdrawPrimitive(TQStyle::PE_ButtonCommand, &paint,
+ kapp->style().drawPrimitive(TQStyle::PE_ButtonCommand, &paint,
TQRect(xpos, ypos, textLen+32, 28), cg2, TQStyle::Style_Enabled | TQStyle::Style_Raised);
paint.setPen(buttonTxt);
paint.drawText(xpos, ypos, textLen+32, 28, AlignCenter,