diff options
Diffstat (limited to 'ksplashml/themeengine/themeengine.cpp')
-rw-r--r-- | ksplashml/themeengine/themeengine.cpp | 4 |
1 files changed, 2 insertions, 2 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 ) |