summaryrefslogtreecommitdiff
path: root/noncore/apps/zsafe/categorylist.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/zsafe/categorylist.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/zsafe/categorylist.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/noncore/apps/zsafe/categorylist.h b/noncore/apps/zsafe/categorylist.h
new file mode 100644
index 0000000..96cf389
--- a/dev/null
+++ b/noncore/apps/zsafe/categorylist.h
@@ -0,0 +1,32 @@
+/*
+** $Id$
+*/
+#ifndef _CATEGORY_LIST_H_
+#define _CATEGORY_LIST_H_
+
+#include <qstring.h>
+#include <qasciidict.h>
+#include "category.h"
+
+// list of Category
+
+class CategoryList
+{
+public:
+ CategoryList();
+ ~CategoryList();
+
+ void insert (QString key, Category *category);
+ Category *find (QString key);
+ void remove (QString key);
+ void clear();
+
+ QAsciiDict<Category> categoryList;
+
+private:
+
+};
+#endif // _CATEGORY_LIST_H_
+
+
+