diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:08:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:08:00 -0600 |
commit | b1c5bea50ae48c54b476428a21dfe594916cb6ae (patch) | |
tree | e539752d1770664512c64f03285d40bd2b07b0c8 /plugins/search | |
parent | 0889370e3050561372c3816dfb2902771ca83765 (diff) | |
download | ktorrent-b1c5bea50ae48c54b476428a21dfe594916cb6ae.tar.gz ktorrent-b1c5bea50ae48c54b476428a21dfe594916cb6ae.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'plugins/search')
-rw-r--r-- | plugins/search/searchplugin.cpp | 4 | ||||
-rw-r--r-- | plugins/search/searchprefpage.cpp | 2 | ||||
-rw-r--r-- | plugins/search/searchwidget.cpp | 10 |
3 files changed, 8 insertions, 8 deletions
diff --git a/plugins/search/searchplugin.cpp b/plugins/search/searchplugin.cpp index bd4efca..d3172c6 100644 --- a/plugins/search/searchplugin.cpp +++ b/plugins/search/searchplugin.cpp @@ -113,10 +113,10 @@ namespace kt return; } - KIconLoader* iload = TDEGlobal::iconLoader(); + TDEIconLoader* iload = TDEGlobal::iconLoader(); SearchWidget* search = new SearchWidget(this); - getGUI()->addTabPage(search,iload->loadIconSet("viewmag", KIcon::Small),text,this); + getGUI()->addTabPage(search,iload->loadIconSet("viewmag", TDEIcon::Small),text,this); TDEAction* copy_act = KStdAction::copy(TQT_TQOBJECT(search),TQT_SLOT(copy()),actionCollection()); copy_act->plug(search->rightClickMenu(),0); diff --git a/plugins/search/searchprefpage.cpp b/plugins/search/searchprefpage.cpp index cc39647..ba79b00 100644 --- a/plugins/search/searchprefpage.cpp +++ b/plugins/search/searchprefpage.cpp @@ -245,7 +245,7 @@ namespace kt SearchPrefPage::SearchPrefPage(SearchPlugin* plugin) : PrefPageInterface(i18n("a noun", "Search"), i18n("Search Engine Options"), - TDEGlobal::iconLoader()->loadIcon("viewmag",KIcon::NoGroup)), m_plugin(plugin) + TDEGlobal::iconLoader()->loadIcon("viewmag",TDEIcon::NoGroup)), m_plugin(plugin) { widget = 0; } diff --git a/plugins/search/searchwidget.cpp b/plugins/search/searchwidget.cpp index ed5141e..f77af71 100644 --- a/plugins/search/searchwidget.cpp +++ b/plugins/search/searchwidget.cpp @@ -68,10 +68,10 @@ namespace kt right_click_menu->insertSeparator(); back_id = right_click_menu->insertItem( TDEGlobal::iconLoader()->loadIconSet(TQApplication::reverseLayout() - ? "forward" : "back",KIcon::Small), + ? "forward" : "back",TDEIcon::Small), i18n("Back"),html_part,TQT_SLOT(back())); right_click_menu->insertItem( - TDEGlobal::iconLoader()->loadIconSet("reload",KIcon::Small), + TDEGlobal::iconLoader()->loadIconSet("reload",TDEIcon::Small), i18n("Reload"),html_part,TQT_SLOT(reload())); right_click_menu->setItemEnabled(back_id,false); @@ -84,12 +84,12 @@ namespace kt sbar->m_clear_button->setIconSet( TDEGlobal::iconLoader()->loadIconSet(TQApplication::reverseLayout() - ? "clear_left" : "locationbar_erase",KIcon::Small)); + ? "clear_left" : "locationbar_erase",TDEIcon::Small)); sbar->m_back->setIconSet( TDEGlobal::iconLoader()->loadIconSet(TQApplication::reverseLayout() - ? "forward" : "back", KIcon::Small)); + ? "forward" : "back", TDEIcon::Small)); sbar->m_reload->setIconSet( - TDEGlobal::iconLoader()->loadIconSet("reload",KIcon::Small)); + TDEGlobal::iconLoader()->loadIconSet("reload",TDEIcon::Small)); connect(html_part,TQT_SIGNAL(backAvailable(bool )), |