summaryrefslogtreecommitdiffstats
path: root/ksplashml
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-22 18:45:07 +0900
committerMichele Calgaro <[email protected]>2023-12-26 21:27:31 +0900
commit0e5ef873f0394ebc87c08d030130cf4089cb1d42 (patch)
tree39b0a54ef4dfc173c556d6e6c7ece5107aed464a /ksplashml
parentdcda00127ea03e99ca6253422624e2d3c2e62f3a (diff)
downloadtdebase-0e5ef873f0394ebc87c08d030130cf4089cb1d42.tar.gz
tdebase-0e5ef873f0394ebc87c08d030130cf4089cb1d42.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c4a6487c827add9382001ff1892b8fb3bfa94682)
Diffstat (limited to 'ksplashml')
-rw-r--r--ksplashml/themeengine/themeengine.cpp4
-rw-r--r--ksplashml/wndmain.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/ksplashml/themeengine/themeengine.cpp b/ksplashml/themeengine/themeengine.cpp
index 9a7d3aba5..db12b8493 100644
--- a/ksplashml/themeengine/themeengine.cpp
+++ b/ksplashml/themeengine/themeengine.cpp
@@ -77,7 +77,7 @@ ThemeEngine::~ThemeEngine()
bool ThemeEngine::eventFilter( TQObject* o, TQEvent* e )
{
if( e->type() == TQEvent::Show && o->isWidgetType())
- addSplashWindow( TQT_TQWIDGET( o ));
+ addSplashWindow( static_cast<TQWidget*>( o ));
return false;
}
@@ -107,7 +107,7 @@ void ThemeEngine::addSplashWindow( TQWidget* w )
void ThemeEngine::splashWindowDestroyed( TQObject* obj )
{
- d->mSplashWindows.remove( TQT_TQWIDGET( obj )->winId());
+ d->mSplashWindows.remove( static_cast<TQWidget*>( obj )->winId());
}
bool ThemeEngine::x11Event( XEvent* e )
diff --git a/ksplashml/wndmain.cpp b/ksplashml/wndmain.cpp
index 3fd1d786d..0514b53bc 100644
--- a/ksplashml/wndmain.cpp
+++ b/ksplashml/wndmain.cpp
@@ -383,7 +383,7 @@ ThemeEngine *KSplash::_loadThemeEngine( const TQString& pluginName, const TQStri
{
TQStringList themeTitle;
themeTitle << theme;
- return static_cast<ThemeEngine *>(TQT_TQWIDGET(factory->create(TQT_TQOBJECT(this), "theme", objName.latin1(), themeTitle)));
+ return static_cast<ThemeEngine *>(factory->create(this, "theme", objName.latin1(), themeTitle));
}
else
return 0L;