summaryrefslogtreecommitdiffstats
path: root/libktorrent
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:08:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:08:00 -0600
commitb1c5bea50ae48c54b476428a21dfe594916cb6ae (patch)
treee539752d1770664512c64f03285d40bd2b07b0c8 /libktorrent
parent0889370e3050561372c3816dfb2902771ca83765 (diff)
downloadktorrent-b1c5bea50ae48c54b476428a21dfe594916cb6ae.tar.gz
ktorrent-b1c5bea50ae48c54b476428a21dfe594916cb6ae.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'libktorrent')
-rw-r--r--libktorrent/interfaces/filetreediritem.cpp4
-rw-r--r--libktorrent/interfaces/filetreeitem.cpp2
-rw-r--r--libktorrent/pluginmanagerprefpage.cpp2
3 files changed, 4 insertions, 4 deletions
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;
}