summaryrefslogtreecommitdiffstats
path: root/src/gui/kdeext/klearlook.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-09 18:25:42 +0900
committerMichele Calgaro <[email protected]>2023-12-09 18:57:45 +0900
commit9b054308cef27a642eaa6e9a86db215151468e0b (patch)
treeab3b17b523e0ae3334541665a4625b99a42a76b1 /src/gui/kdeext/klearlook.cpp
parent217eb15dfed1b38303754b8cab53d77d749f22b9 (diff)
downloadrosegarden-9b054308cef27a642eaa6e9a86db215151468e0b.tar.gz
rosegarden-9b054308cef27a642eaa6e9a86db215151468e0b.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gui/kdeext/klearlook.cpp')
-rw-r--r--src/gui/kdeext/klearlook.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/kdeext/klearlook.cpp b/src/gui/kdeext/klearlook.cpp
index b6e7399..496ad62 100644
--- a/src/gui/kdeext/klearlook.cpp
+++ b/src/gui/kdeext/klearlook.cpp
@@ -682,8 +682,8 @@ bool KlearlookStyle::objectEventHandler( const TQStyleControlElementData &ceData
if ( object->parent() && 0 == qstrcmp( object->name(), kdeToolbarWidget ) ) {
// Draw background for custom widgets in the toolbar that have specified a "tde toolbar widget" name.
if ( TQEvent::Paint == event->type() ) {
- TQWidget * widget = TQT_TQWIDGET( object ),
- *parent = TQT_TQWIDGET( object->parent() );
+ TQWidget * widget = static_cast<TQWidget*>( object ),
+ *parent = static_cast<TQWidget*>( object->parent() );
#ifdef TQTC_GRADIENT_TOOLBARS_AND_MENUBARS
// Find the top-level toolbar of this widget, since it may be nested in other
// widgets that are on the toolbar.
@@ -693,7 +693,7 @@ bool KlearlookStyle::objectEventHandler( const TQStyleControlElementData &ceData
while ( parent && parent->parent() && !qstrcmp( parent->name(), kdeToolbarWidget ) ) {
x_offset += parent->x();
y_offset += parent->y();
- parent = TQT_TQWIDGET( parent->parent() );
+ parent = static_cast<TQWidget*>( parent->parent() );
}
TQRect pr( parent->rect() );