summaryrefslogtreecommitdiff
path: root/noncore/apps/zsafe/categorylist.h
Unidiff
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 @@
1/*
2** $Id$
3*/
4#ifndef _CATEGORY_LIST_H_
5#define _CATEGORY_LIST_H_
6
7#include <qstring.h>
8#include <qasciidict.h>
9#include "category.h"
10
11// list of Category
12
13class CategoryList
14{
15public:
16 CategoryList();
17 ~CategoryList();
18
19 void insert (QString key, Category *category);
20 Category *find (QString key);
21 void remove (QString key);
22 void clear();
23
24 QAsciiDict<Category> categoryList;
25
26private:
27
28};
29#endif // _CATEGORY_LIST_H_
30
31
32