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/tdetoolbarbutton.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/tdetoolbarbutton.cpp')
-rw-r--r-- | tdeui/tdetoolbarbutton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/tdetoolbarbutton.cpp b/tdeui/tdetoolbarbutton.cpp index 9e3313de3..854ad2f9b 100644 --- a/tdeui/tdetoolbarbutton.cpp +++ b/tdeui/tdetoolbarbutton.cpp @@ -251,7 +251,7 @@ void TDEToolBarButton::modeChange() break; } - mysize = style().tqsizeFromContents(TQStyle::CT_ToolButton, this, mysize). + mysize = style().sizeFromContents(TQStyle::CT_ToolButton, this, mysize). expandedTo(TQApplication::globalStrut()); // make sure that this isn't taller then it is wide @@ -628,7 +628,7 @@ void TDEToolBarButton::drawButton( TQPainter *_painter ) if (isDown()) arrowFlags |= TQStyle::Style_Down; if (isEnabled()) arrowFlags |= TQStyle::Style_Enabled; - style().tqdrawPrimitive(TQStyle::PE_ArrowDown, _painter, + style().drawPrimitive(TQStyle::PE_ArrowDown, _painter, TQRect(width()-7, height()-7, 7, 7), colorGroup(), arrowFlags, TQStyleOption() ); } |