From 766478630b5e0f435d8aef9ee7ba44651e4e431d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 9 Dec 2023 18:25:41 +0900 Subject: Remove various '#define' strings - part 6 Signed-off-by: Michele Calgaro --- src/k3bjobprogressdialog.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/k3bjobprogressdialog.cpp') diff --git a/src/k3bjobprogressdialog.cpp b/src/k3bjobprogressdialog.cpp index 14a710f..47ee727 100644 --- a/src/k3bjobprogressdialog.cpp +++ b/src/k3bjobprogressdialog.cpp @@ -682,14 +682,14 @@ void K3bJobProgressDialog::blockingInformation( const TQString& text, void K3bJobProgressDialog::slotThemeChanged() { if( K3bTheme* theme = k3bappcore->themeManager()->currentTheme() ) { - TQT_TQWIDGET(child( "frame4" ))->setPaletteBackgroundColor( theme->backgroundColor() ); - TQT_TQWIDGET(child( "frame4" ))->setPaletteForegroundColor( theme->backgroundColor() ); - TQT_TQWIDGET(child( "frame5" ))->setPaletteBackgroundColor( theme->backgroundColor() ); - TQT_TQWIDGET(child( "frame5" ))->setPaletteForegroundColor( theme->backgroundColor() ); - TQT_TQWIDGET(child( "progressHeaderFrame" ))->setPaletteBackgroundColor( theme->backgroundColor() ); - TQT_TQWIDGET(child( "progressHeaderFrame" ))->setPaletteForegroundColor( theme->backgroundColor() ); - TQT_TQWIDGET(child( "headerFrame" ))->setPaletteBackgroundColor( theme->backgroundColor() ); - TQT_TQWIDGET(child( "headerFrame" ))->setPaletteForegroundColor( theme->backgroundColor() ); + static_cast(child( "frame4" ))->setPaletteBackgroundColor( theme->backgroundColor() ); + static_cast(child( "frame4" ))->setPaletteForegroundColor( theme->backgroundColor() ); + static_cast(child( "frame5" ))->setPaletteBackgroundColor( theme->backgroundColor() ); + static_cast(child( "frame5" ))->setPaletteForegroundColor( theme->backgroundColor() ); + static_cast(child( "progressHeaderFrame" ))->setPaletteBackgroundColor( theme->backgroundColor() ); + static_cast(child( "progressHeaderFrame" ))->setPaletteForegroundColor( theme->backgroundColor() ); + static_cast(child( "headerFrame" ))->setPaletteBackgroundColor( theme->backgroundColor() ); + static_cast(child( "headerFrame" ))->setPaletteForegroundColor( theme->backgroundColor() ); } } -- cgit v1.2.3