From 416309451958efbd22b4904aa9fdd1c1d54885f5 Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Thu, 1 Oct 2015 18:36:18 +0200 Subject: Initial TDE conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/item.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/item.cpp') diff --git a/src/item.cpp b/src/item.cpp index 4dccc77..2687da0 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -15,7 +15,7 @@ * * ***************************************************************************/ -#include +#include #include #include @@ -25,7 +25,7 @@ #include "item.h" Item::Item(const TQString& iconName, const TQString& cmd, const TQString& name, int minSize, int maxSize) { - iLoader = KGlobal::iconLoader(); + iLoader = TDEGlobal::iconLoader(); command = cmd; this->name = name; mCount=0; @@ -36,7 +36,7 @@ Item::Item(const TQString& iconName, const TQString& cmd, const TQString& name, this->maxSize = maxSize; this->iconName = iconName; - TQImage icon(iLoader->loadIcon(iconName, KIcon::NoGroup, 64).convertToImage()); + TQImage icon(iLoader->loadIcon(iconName, TDEIcon::NoGroup, 64).convertToImage()); if (minSize <= maxSize) { int count = maxSize - minSize + 1; @@ -90,7 +90,7 @@ Item::Item(const TQString& fileName, int minSize, int maxSize) in.close(); - iLoader = KGlobal::iconLoader(); + iLoader = TDEGlobal::iconLoader(); this->minSize = minSize; this->maxSize = maxSize; this->filename = fileName; @@ -98,7 +98,7 @@ Item::Item(const TQString& fileName, int minSize, int maxSize) mIndex=0; mMIndex=0; mClass=""; - TQImage icon(iLoader->loadIcon(iconName, KIcon::NoGroup, 64).convertToImage()); + TQImage icon(iLoader->loadIcon(iconName, TDEIcon::NoGroup, 64).convertToImage()); if (minSize <= maxSize) { int count = maxSize - minSize + 1; -- cgit v1.2.3