summaryrefslogtreecommitdiffstats
path: root/tdeui/kcolorbutton.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:55:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-25 15:17:48 +0900
commit4c9f3f02c0e1a9be5567649f5c97d6638033f74f (patch)
tree1979e02cfb76240b6e03e1fcebe7b546143c74e1 /tdeui/kcolorbutton.cpp
parentcf7f8e74af96c15491c49457261a7d0d001250ad (diff)
downloadtdelibs-4c9f3f02c0e1a9be5567649f5c97d6638033f74f.tar.gz
tdelibs-4c9f3f02c0e1a9be5567649f5c97d6638033f74f.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8d79c40791fa0bcac4d4ce1dc7385b19e523ba08)
Diffstat (limited to 'tdeui/kcolorbutton.cpp')
-rw-r--r--tdeui/kcolorbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/kcolorbutton.cpp b/tdeui/kcolorbutton.cpp
index 37ab8a111..bebedf6c9 100644
--- a/tdeui/kcolorbutton.cpp
+++ b/tdeui/kcolorbutton.cpp
@@ -126,13 +126,13 @@ void KColorButton::drawButtonLabel( TQPainter *painter )
if ( hasFocus() ) {
TQRect focusRect = style().subRect( TQStyle::SR_PushButtonFocusRect, this );
- style().tqdrawPrimitive( TQStyle::PE_FocusRect, painter, focusRect, colorGroup() );
+ style().drawPrimitive( TQStyle::PE_FocusRect, painter, focusRect, colorGroup() );
}
}
TQSize KColorButton::sizeHint() const
{
- return style().tqsizeFromContents(TQStyle::CT_PushButton, this, TQSize(40, 15)).
+ return style().sizeFromContents(TQStyle::CT_PushButton, this, TQSize(40, 15)).
expandedTo(TQApplication::globalStrut());
}