From 2cf12b3b4be272da465791312b82cfcc77704b9d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 10:44:29 -0600 Subject: [PATCH] Rename KLock and KTrader to avoid conflicts with KDE4 --- libktorrent/pluginmanager.cpp | 4 ++-- libktorrent/pluginmanager.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libktorrent/pluginmanager.cpp b/libktorrent/pluginmanager.cpp index 2d3fe55..cd5a1eb 100644 --- a/libktorrent/pluginmanager.cpp +++ b/libktorrent/pluginmanager.cpp @@ -52,9 +52,9 @@ namespace kt 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) { KService::Ptr service = *iter; diff --git a/libktorrent/pluginmanager.h b/libktorrent/pluginmanager.h index af5f46c..b86e521 100644 --- a/libktorrent/pluginmanager.h +++ b/libktorrent/pluginmanager.h @@ -52,7 +52,7 @@ namespace kt /** * 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 * when it's load method is called. */