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 /libktorrent/interfaces | |
parent | 0889370e3050561372c3816dfb2902771ca83765 (diff) | |
download | ktorrent-b1c5bea50ae48c54b476428a21dfe594916cb6ae.tar.gz ktorrent-b1c5bea50ae48c54b476428a21dfe594916cb6ae.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'libktorrent/interfaces')
-rw-r--r-- | libktorrent/interfaces/filetreediritem.cpp | 4 | ||||
-rw-r--r-- | libktorrent/interfaces/filetreeitem.cpp | 2 |
2 files changed, 3 insertions, 3 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) |