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 7503d2de..b3781e2d 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")
- .arg( TQString::number( version ) );
+ .tqarg( 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->topLevelWidget();
+ TQWidget *topLevel = wdg->tqtopLevelWidget();
TQMap<TQWidget*, KXMLGUIClient*>::ConstIterator it = mXMLGUIClients.find( topLevel );
if ( it != mXMLGUIClients.end() )
return it.data();