diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:10:55 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-07-30 23:30:15 +0200 |
commit | 4c7c7b15be1d6c77d350bc9c972f68a91af1a34f (patch) | |
tree | 6aaf03ec2fddef624e487d897b7d106ae2a4c01e /knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp | |
parent | 5fbe0e6759dd0c81b19bf727abfcba95f02d9fec (diff) | |
download | knetworkmanager8-4c7c7b15be1d6c77d350bc9c972f68a91af1a34f.tar.gz knetworkmanager8-4c7c7b15be1d6c77d350bc9c972f68a91af1a34f.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit e2cfc7c4dd819ab463f0cccaaff99e0a7bc33b29)
Diffstat (limited to 'knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp')
-rw-r--r-- | knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp b/knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp index 8bd3f85..b09f72d 100644 --- a/knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp +++ b/knetworkmanager-0.8/src/knetworkmanager-pluginmanager.cpp @@ -42,7 +42,7 @@ PluginManager::PluginManager(TQObject* parent, const char* name) : TQObject(parent, name) { // get list of available plugins - this->_plugins = KPluginInfo::fromServices( KTrader::self()->query( TQString::tqfromLatin1( "KNetworkManager/Plugin" ))); + this->_plugins = KPluginInfo::fromServices( KTrader::self()->query( TQString::fromLatin1( "KNetworkManager/Plugin" ))); // a bit debug output for(TQValueList<KPluginInfo*>::ConstIterator it = _plugins.begin(); it != _plugins.end(); ++it) @@ -125,8 +125,8 @@ Plugin* PluginManager::loadPlugin(const TQString& pluginID) // try to load Plugin int error = 0; KPluginInfo* info = infoForPluginID(pluginID); - Plugin *plugin = KParts::ComponentFactory::createInstanceFromQuery<Plugin>( TQString::tqfromLatin1( "KNetworkManager/Plugin" ), - TQString::tqfromLatin1( "[X-KDE-PluginInfo-Name]=='%1'" ).tqarg( pluginID ), this, 0, TQStringList(), &error ); + Plugin *plugin = KParts::ComponentFactory::createInstanceFromQuery<Plugin>( TQString::fromLatin1( "KNetworkManager/Plugin" ), + TQString::fromLatin1( "[X-KDE-PluginInfo-Name]=='%1'" ).tqarg( pluginID ), this, 0, TQStringList(), &error ); // plugin loaded? if (plugin) |