From b1c5bea50ae48c54b476428a21dfe594916cb6ae Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:08:00 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- libktorrent/interfaces/filetreediritem.cpp | 4 ++-- libktorrent/interfaces/filetreeitem.cpp | 2 +- libktorrent/pluginmanagerprefpage.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libktorrent') diff --git a/libktorrent/interfaces/filetreediritem.cpp b/libktorrent/interfaces/filetreediritem.cpp index f1dbe43..0b37646 100644 --- a/libktorrent/interfaces/filetreediritem.cpp +++ b/libktorrent/interfaces/filetreediritem.cpp @@ -39,7 +39,7 @@ namespace kt { parent = 0; size = 0; - setPixmap(0,TDEGlobal::iconLoader()->loadIcon("folder",KIcon::Small)); + setPixmap(0,TDEGlobal::iconLoader()->loadIcon("folder",TDEIcon::Small)); setText(0,name); setText(1,BytesToString(size)); setText(2,i18n("Yes")); @@ -53,7 +53,7 @@ namespace kt name(name),parent(parent) { size = 0; - setPixmap(0,TDEGlobal::iconLoader()->loadIcon("folder",KIcon::Small)); + setPixmap(0,TDEGlobal::iconLoader()->loadIcon("folder",TDEIcon::Small)); setText(0,name); setText(1,BytesToString(size)); setText(2,i18n("Yes")); diff --git a/libktorrent/interfaces/filetreeitem.cpp b/libktorrent/interfaces/filetreeitem.cpp index 6431152..b864b72 100644 --- a/libktorrent/interfaces/filetreeitem.cpp +++ b/libktorrent/interfaces/filetreeitem.cpp @@ -102,7 +102,7 @@ namespace kt setText(0,name); setText(1,BytesToString(file.getSize())); updatePriorityText(); - setPixmap(0,KMimeType::findByPath(name)->pixmap(KIcon::Small)); + setPixmap(0,KMimeType::findByPath(name)->pixmap(TDEIcon::Small)); } void FileTreeItem::stateChange(bool on) diff --git a/libktorrent/pluginmanagerprefpage.cpp b/libktorrent/pluginmanagerprefpage.cpp index 54f5aaa..497ea2e 100644 --- a/libktorrent/pluginmanagerprefpage.cpp +++ b/libktorrent/pluginmanagerprefpage.cpp @@ -60,7 +60,7 @@ namespace kt }; PluginManagerPrefPage::PluginManagerPrefPage(PluginManager* pman) - : PrefPageInterface(i18n("Plugins"), i18n("Plugin Options"),TDEGlobal::iconLoader()->loadIcon("ktplugins",KIcon::NoGroup)),pman(pman) + : PrefPageInterface(i18n("Plugins"), i18n("Plugin Options"),TDEGlobal::iconLoader()->loadIcon("ktplugins",TDEIcon::NoGroup)),pman(pman) { pmw = 0; } -- cgit v1.2.1