summaryrefslogtreecommitdiffstats
path: root/plugins/search/searchplugin.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:25:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:25:33 -0600
commit604bf3f969d880708ea9a1affce0b304c29e6ff5 (patch)
treee8fad7142f5d23041b1c9e6c2a1d0d8c814b0ebe /plugins/search/searchplugin.cpp
parent93f5eb31173901d14b4376614f89d43973ddd45b (diff)
downloadktorrent-604bf3f969d880708ea9a1affce0b304c29e6ff5.tar.gz
ktorrent-604bf3f969d880708ea9a1affce0b304c29e6ff5.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'plugins/search/searchplugin.cpp')
-rw-r--r--plugins/search/searchplugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/search/searchplugin.cpp b/plugins/search/searchplugin.cpp
index 2f63f4e..9759cce 100644
--- a/plugins/search/searchplugin.cpp
+++ b/plugins/search/searchplugin.cpp
@@ -62,7 +62,7 @@ namespace kt
void SearchPlugin::load()
{
- engines.load(KGlobal::dirs()->saveLocation("data","ktorrent") + "search_engines");
+ engines.load(TDEGlobal::dirs()->saveLocation("data","ktorrent") + "search_engines");
KToolBar* tb = getGUI()->addToolBar("search");
tab = new SearchTab(tb);
connect(tab,TQT_SIGNAL(search( const TQString&, int, bool )),
@@ -113,7 +113,7 @@ namespace kt
return;
}
- KIconLoader* iload = KGlobal::iconLoader();
+ KIconLoader* iload = TDEGlobal::iconLoader();
SearchWidget* search = new SearchWidget(this);
getGUI()->addTabPage(search,iload->loadIconSet("viewmag", KIcon::Small),text,this);
@@ -128,7 +128,7 @@ namespace kt
void SearchPlugin::preferencesUpdated()
{
- engines.load(KGlobal::dirs()->saveLocation("data","ktorrent") + "search_engines");
+ engines.load(TDEGlobal::dirs()->saveLocation("data","ktorrent") + "search_engines");
if (tab)
tab->updateSearchEngines(engines);