From 9b054308cef27a642eaa6e9a86db215151468e0b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 9 Dec 2023 18:25:42 +0900 Subject: Remove various '#define' strings - part 6 Signed-off-by: Michele Calgaro --- src/gui/kdeext/klearlook.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/kdeext') 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( object ), + *parent = static_cast( 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( parent->parent() ); } TQRect pr( parent->rect() ); -- cgit v1.2.1