diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:56:24 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:56:24 -0600 |
commit | 43b12e2e89ff2531ae5af4103346a793348a4e1d (patch) | |
tree | 2f15b9c17d62ee6c131990e8607e7e9bf138f027 /knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp | |
parent | def182a745c9f7c9f91600c31d133389d0d59b82 (diff) | |
download | knetworkmanager8-43b12e2e89ff2531ae5af4103346a793348a4e1d.tar.gz knetworkmanager8-43b12e2e89ff2531ae5af4103346a793348a4e1d.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit def182a745c9f7c9f91600c31d133389d0d59b82.
Diffstat (limited to 'knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp')
-rw-r--r-- | knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp b/knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp index 7654ccd..8bd3f85 100644 --- a/knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp +++ b/knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp @@ -42,11 +42,11 @@ PluginManager::PluginManager(TQObject* parent, const char* name) : TQObject(parent, name) { // get list of available plugins - this->_plugins = KPluginInfo::fromServices( KTrader::self()->query( TQString::fromLatin1( "KNetworkManager/Plugin" ))); + this->_plugins = KPluginInfo::fromServices( KTrader::self()->query( TQString::tqfromLatin1( "KNetworkManager/Plugin" ))); // a bit debug output for(TQValueList<KPluginInfo*>::ConstIterator it = _plugins.begin(); it != _plugins.end(); ++it) - kdDebug() << k_funcinfo << TQString("Found Plugin '%1'").arg((*it)->pluginName()) << endl; + kdDebug() << k_funcinfo << TQString("Found Plugin '%1'").tqarg((*it)->pluginName()) << endl; } PluginManager::~PluginManager() @@ -125,13 +125,13 @@ Plugin* PluginManager::loadPlugin(const TQString& pluginID) // try to load Plugin int error = 0; KPluginInfo* info = infoForPluginID(pluginID); - Plugin *plugin = KParts::ComponentFactory::createInstanceFromQuery<Plugin>( TQString::fromLatin1( "KNetworkManager/Plugin" ), - TQString::fromLatin1( "[X-KDE-PluginInfo-Name]=='%1'" ).arg( pluginID ), this, 0, TQStringList(), &error ); + Plugin *plugin = KParts::ComponentFactory::createInstanceFromQuery<Plugin>( TQString::tqfromLatin1( "KNetworkManager/Plugin" ), + TQString::tqfromLatin1( "[X-KDE-PluginInfo-Name]=='%1'" ).tqarg( pluginID ), this, 0, TQStringList(), &error ); // plugin loaded? if (plugin) { - kdDebug() << k_funcinfo << TQString(i18n("successfully loaded plugin '%1'")).arg(info->pluginName()) << endl; + kdDebug() << k_funcinfo << TQString(i18n("successfully loaded plugin '%1'")).tqarg(info->pluginName()) << endl; _loadedPlugins.insert(info, plugin); } else |