From 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:50 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12. --- korganizer/kocore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'korganizer/kocore.cpp') diff --git a/korganizer/kocore.cpp b/korganizer/kocore.cpp index 7503d2de4..b3781e2d9 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::ConstIterator it = mXMLGUIClients.find( topLevel ); if ( it != mXMLGUIClients.end() ) return it.data(); -- cgit v1.2.1