summaryrefslogtreecommitdiffstats
path: root/src/item.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2015-10-01 18:36:18 +0200
committerSlávek Banko <[email protected]>2015-10-01 19:33:36 +0200
commit416309451958efbd22b4904aa9fdd1c1d54885f5 (patch)
treedbe0ba466a1821e460a483e6920aa3f4a9ede12c /src/item.cpp
parent12348780ecc7d112ffdd8d4f4dc4ccd6a63f10e7 (diff)
downloadkooldock-416309451958efbd22b4904aa9fdd1c1d54885f5.tar.gz
kooldock-416309451958efbd22b4904aa9fdd1c1d54885f5.zip
Initial TDE conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/item.cpp')
-rw-r--r--src/item.cpp10
1 files changed, 5 insertions, 5 deletions
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 <kglobal.h>
+#include <tdeglobal.h>
#include <kicontheme.h>
#include <ntqfile.h>
@@ -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;