summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/styledbutton.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:56:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-25 15:11:59 +0900
commit8308ebcedcc01c7588346da09b69b97b5c8e8059 (patch)
treebb9c0496446fbfe6f04adcfd8f16b2e59061b6ec /kdevdesigner/designer/styledbutton.cpp
parent56e6314df839aa796a946452f8950b529aba18e6 (diff)
downloadtdevelop-8308ebcedcc01c7588346da09b69b97b5c8e8059.tar.gz
tdevelop-8308ebcedcc01c7588346da09b69b97b5c8e8059.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit aefcba8280fc1520675866143baf2f8c020ec82e)
Diffstat (limited to 'kdevdesigner/designer/styledbutton.cpp')
-rw-r--r--kdevdesigner/designer/styledbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdevdesigner/designer/styledbutton.cpp b/kdevdesigner/designer/styledbutton.cpp
index 82c9ddb8..798e0a09 100644
--- a/kdevdesigner/designer/styledbutton.cpp
+++ b/kdevdesigner/designer/styledbutton.cpp
@@ -151,12 +151,12 @@ void StyledButton::resizeEvent( TQResizeEvent* e )
void StyledButton::drawButton( TQPainter *paint )
{
- style().tqdrawPrimitive(TQStyle::PE_ButtonBevel, paint, rect(), colorGroup(),
+ style().drawPrimitive(TQStyle::PE_ButtonBevel, paint, rect(), colorGroup(),
isDown() ? TQStyle::Style_Sunken : TQStyle::Style_Raised);
drawButtonLabel(paint);
if (hasFocus())
- style().tqdrawPrimitive(TQStyle::PE_FocusRect, paint,
+ style().drawPrimitive(TQStyle::PE_FocusRect, paint,
style().subRect(TQStyle::SR_PushButtonFocusRect, this),
colorGroup(), TQStyle::Style_Default);
}