From fa3772aa7ddea5725cc7e7db42d017567e4cc14c Mon Sep 17 00:00:00 2001 From: zcarsten Date: Tue, 22 Jul 2003 19:23:13 +0000 Subject: Initial revision --- (limited to 'noncore/apps/zsafe/category.h') diff --git a/noncore/apps/zsafe/category.h b/noncore/apps/zsafe/category.h new file mode 100644 index 0000000..943c728 --- a/dev/null +++ b/noncore/apps/zsafe/category.h @@ -0,0 +1,42 @@ +/* +** $Id$ +*/ + +#ifndef _CATEGORY_H_ +#define _CATEGORY_H_ + +#include +#include +#include + +// class to hold one category item + +class Category +{ +public: + Category(); + ~Category(); + + QString getIconName(); + QString getCategoryName(); + QListViewItem * getListItem(); + QPixmap getIcon(); + void setIconName(QString name); + void setCategoryName(QString name); + void setListItem(QListViewItem *item); + void setIcon(QPixmap item); + void initListItem(); + +protected: + QString iconName; // full path to the icon + QString categoryName; // name of the category + QPixmap icon; // pixmap icon + QListViewItem *listItem; // list view item + +private: + +}; +#endif // _CATEGORY_H_ + + + -- cgit v0.9.0.2