Rename KLock and KTrader to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 95fa1b2e1f
commit 2cf12b3b4b

@ -52,9 +52,9 @@ namespace kt
void PluginManager::loadPluginList() void PluginManager::loadPluginList()
{ {
KTrader::OfferList offers = KTrader::self()->query("KTorrent/Plugin"); TDETrader::OfferList offers = TDETrader::self()->query("KTorrent/Plugin");
KTrader::OfferList::ConstIterator iter; TDETrader::OfferList::ConstIterator iter;
for(iter = offers.begin(); iter != offers.end(); ++iter) for(iter = offers.begin(); iter != offers.end(); ++iter)
{ {
KService::Ptr service = *iter; KService::Ptr service = *iter;

@ -52,7 +52,7 @@ namespace kt
/** /**
* Load the list of plugins. * Load the list of plugins.
* This basically uses KTrader to get a list of available plugins, and * This basically uses TDETrader to get a list of available plugins, and
* loads those, but does not initialize them. We will consider a plugin loaded * loads those, but does not initialize them. We will consider a plugin loaded
* when it's load method is called. * when it's load method is called.
*/ */

Loading…
Cancel
Save