summaryrefslogtreecommitdiffstats
path: root/korganizer/kocore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kocore.cpp')
-rw-r--r--korganizer/kocore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kocore.cpp b/korganizer/kocore.cpp
index b3781e2d9..7503d2de4 100644
--- a/korganizer/kocore.cpp
+++ b/korganizer/kocore.cpp
@@ -67,7 +67,7 @@ KTrader::OfferList KOCore::availablePlugins( const TQString &type, int version )
TQString constraint;
if ( version >= 0 ) {
constraint = TQString("[X-KDE-PluginInterfaceVersion] == %1")
- .tqarg( TQString::number( version ) );
+ .arg( TQString::number( version ) );
}
return KTrader::self()->query( type, constraint );
@@ -236,7 +236,7 @@ void KOCore::removeXMLGUIClient( TQWidget *wdg )
KXMLGUIClient* KOCore::xmlguiClient( TQWidget *wdg ) const
{
- TQWidget *topLevel = wdg->tqtopLevelWidget();
+ TQWidget *topLevel = wdg->topLevelWidget();
TQMap<TQWidget*, KXMLGUIClient*>::ConstIterator it = mXMLGUIClients.find( topLevel );
if ( it != mXMLGUIClients.end() )
return it.data();