diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 10:48:34 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 10:48:34 -0600 |
commit | 081670a12774435ae60cf8eba9226b91d27852b3 (patch) | |
tree | 7efc1e978d6abc1c45f29f304d55e2c9765bf67d | |
parent | 00f31f453028696ac81f570b20a156ba1c88983b (diff) | |
download | tdeaddons-081670a12774435ae60cf8eba9226b91d27852b3.tar.gz tdeaddons-081670a12774435ae60cf8eba9226b91d27852b3.zip |
Rename KLock and KTrader to avoid conflicts with KDE4
-rw-r--r-- | konq-plugins/sidebar/metabar/src/defaultplugin.cpp | 6 | ||||
-rw-r--r-- | konq-plugins/uachanger/uachangerplugin.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/konq-plugins/sidebar/metabar/src/defaultplugin.cpp b/konq-plugins/sidebar/metabar/src/defaultplugin.cpp index f2cbb52..62eae48 100644 --- a/konq-plugins/sidebar/metabar/src/defaultplugin.cpp +++ b/konq-plugins/sidebar/metabar/src/defaultplugin.cpp @@ -166,9 +166,9 @@ void DefaultPlugin::loadApplications(DOM::HTMLElement node) } } else{ //other files - KTrader::OfferList offers; + TDETrader::OfferList offers; - offers = KTrader::self()->query(item->mimetype(), "Type == 'Application'"); + offers = TDETrader::self()->query(item->mimetype(), "Type == 'Application'"); if(!offers.isEmpty()){ TDEConfig config("metabarrc", true, false); config.setGroup("General"); @@ -177,7 +177,7 @@ void DefaultPlugin::loadApplications(DOM::HTMLElement node) int max = config.readNumEntry("MaxEntries", 5); runMap.clear(); - KTrader::OfferList::ConstIterator it = offers.begin(); + TDETrader::OfferList::ConstIterator it = offers.begin(); for(; it != offers.end(); it++){ TQString nam; diff --git a/konq-plugins/uachanger/uachangerplugin.cpp b/konq-plugins/uachanger/uachangerplugin.cpp index bf389ee..fe671a9 100644 --- a/konq-plugins/uachanger/uachangerplugin.cpp +++ b/konq-plugins/uachanger/uachangerplugin.cpp @@ -87,7 +87,7 @@ void UAChangerPlugin::slotReloadDescriptions() void UAChangerPlugin::parseDescFiles() { - KTrader::OfferList list = KTrader::self()->query("UserAgentStrings"); + TDETrader::OfferList list = TDETrader::self()->query("UserAgentStrings"); if ( list.count() == 0 ) return; @@ -111,8 +111,8 @@ void UAChangerPlugin::parseDescFiles() } } - KTrader::OfferList::ConstIterator it = list.begin(); - KTrader::OfferList::ConstIterator lastItem = list.end(); + TDETrader::OfferList::ConstIterator it = list.begin(); + TDETrader::OfferList::ConstIterator lastItem = list.end(); for ( ; it != lastItem; ++it ) { |