diff options
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 82 |
1 files changed, 41 insertions, 41 deletions
@@ -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 |