diff options
author | Michele Calgaro <[email protected]> | 2023-11-24 10:55:57 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-24 10:55:57 +0900 |
commit | 8d79c40791fa0bcac4d4ce1dc7385b19e523ba08 (patch) | |
tree | aeb6e8f7de0507196578a04a8bdc804284d9fc80 /tdeui/kcolorbutton.cpp | |
parent | 17a8fd0ec28f5efbc658892067bb5602b6a8e44c (diff) | |
download | tdelibs-8d79c40791fa0bcac4d4ce1dc7385b19e523ba08.tar.gz tdelibs-8d79c40791fa0bcac4d4ce1dc7385b19e523ba08.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/kcolorbutton.cpp')
-rw-r--r-- | tdeui/kcolorbutton.cpp | 4 |
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()); } |