summaryrefslogtreecommitdiffstats
path: root/src/item.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2015-10-01 18:08:45 +0200
committerSlávek Banko <[email protected]>2015-10-01 19:33:35 +0200
commit12348780ecc7d112ffdd8d4f4dc4ccd6a63f10e7 (patch)
tree94abc892aabb1f4e2eab0cf1ff028ddfba454d60 /src/item.h
parent77649eee774e6f71da886d5c72a616a0b46e08fa (diff)
downloadkooldock-12348780ecc7d112ffdd8d4f4dc4ccd6a63f10e7.tar.gz
kooldock-12348780ecc7d112ffdd8d4f4dc4ccd6a63f10e7.zip
Initial TQt conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/item.h b/src/item.h
index 2fcfd3a..2c56901 100644
--- a/src/item.h
+++ b/src/item.h
@@ -21,13 +21,13 @@
#include <kiconloader.h>
#include <kwin.h>
-#include <qstring.h>
-#include <qpixmap.h>
-#include <qptrlist.h>
+#include <ntqstring.h>
+#include <ntqpixmap.h>
+#include <ntqptrlist.h>
#include <vector>
-#include <qevent.h>
-#include <qnamespace.h>
+#include <ntqevent.h>
+#include <ntqnamespace.h>
const int MAX_LEN = 256;
const int SIZE_INC = 1;
@@ -35,34 +35,34 @@ const int SIZE_INC = 1;
class Item
{
public:
- Item(const QString& iconName, const QString& cmd, const QString& name, int minSize, int maxSize);
- Item(const QString& fileName, int minSize, int maxSize);
- Item(const QPixmap& iconBig, WId id, const QString& name, int minSize, int maxSize, bool wi =FALSE);
+ Item(const TQString& iconName, const TQString& cmd, const TQString& name, int minSize, int maxSize);
+ Item(const TQString& fileName, int minSize, int maxSize);
+ Item(const TQPixmap& iconBig, WId id, const TQString& name, int minSize, int maxSize, bool wi =FALSE);
~Item();
- void setIcon(const QPixmap& iconBig);
+ void setIcon(const TQPixmap& iconBig);
- QPixmap* getIcon(int size);
- QString getCommand();
- QString getName();
- QCString getClass();
+ TQPixmap* getIcon(int size);
+ TQString getCommand();
+ TQString getName();
+ TQCString getClass();
int getCount();
int getIndex();
int getMIndex();
WId getId();
KWin::WindowInfo info;
void setId(WId newId);
- QString getFilename();
+ TQString getFilename();
- void setName(const QString& newName);
- void setClass(const QCString& newClass);
+ void setName(const TQString& newName);
+ void setClass(const TQCString& newClass);
void setCount(int newCount);
void setIndex(int newIndex);
void setMIndex(int newIndex);
bool animed;
bool isAnimed();
void anim(bool param);
- QPtrList<QPixmap> icons;
+ TQPtrList<TQPixmap> icons;
bool wIcon;
private:
@@ -70,14 +70,14 @@ class Item
int minSize;
int maxSize;
- QString command;
- QString name;
- QCString mClass;
+ TQString command;
+ TQString name;
+ TQCString mClass;
int mCount;
int mIndex;
int mMIndex;
- QString iconName;
- QString filename;
+ TQString iconName;
+ TQString filename;
WId id;
};