summaryrefslogtreecommitdiffstats
path: root/src/item.h
diff options
context:
space:
mode:
authorPascal Viandier <midi-pascal@videotron.ca>2015-10-01 19:38:38 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-10-01 19:38:38 +0200
commit1e0e72fceb542e4eb984b50f747c38314f055b8f (patch)
tree40d35ec3682c465348f8d8d73509aeda4729a8bb /src/item.h
parentc9e33e7d3fcd5b21a00e13dcbb5742a6c8da6106 (diff)
downloadkooldock-1e0e72fceb542e4eb984b50f747c38314f055b8f.tar.gz
kooldock-1e0e72fceb542e4eb984b50f747c38314f055b8f.zip
Fix remaining issues and build warnings
Cleanup code Signed-off-by: Pascal Viandier <midi-pascal@videotron.ca>
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h82
1 files changed, 41 insertions, 41 deletions
diff --git a/src/item.h b/src/item.h
index 156dad7..5d94695 100644
--- a/src/item.h
+++ b/src/item.h
@@ -34,51 +34,51 @@ const int SIZE_INC = 1;
class Item
{
- public:
- 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();
+ public:
+ 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 TQPixmap& iconBig);
+ void setIcon(const TQPixmap& iconBig);
- 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);
- TQString getFilename();
+ 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);
+ TQString getFilename();
- 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);
- TQPtrList<TQPixmap> icons;
- bool wIcon;
+ 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);
+ TQPtrList<TQPixmap> icons;
+ bool wIcon;
- private:
- TDEIconLoader *iLoader;
+ private:
+ TDEIconLoader* iLoader;
- int minSize;
- int maxSize;
- TQString command;
- TQString name;
- TQCString mClass;
- int mCount;
- int mIndex;
- int mMIndex;
- TQString iconName;
- TQString filename;
- WId id;
+ int minSize;
+ int maxSize;
+ TQString command;
+ TQString name;
+ TQCString mClass;
+ int mCount;
+ int mIndex;
+ int mMIndex;
+ TQString iconName;
+ TQString filename;
+ WId id;
};
-#endif
+#endif // ITEM_H