author | zcarsten <zcarsten> | 2003-07-22 19:23:13 (UTC) |
---|---|---|
committer | zcarsten <zcarsten> | 2003-07-22 19:23:13 (UTC) |
commit | fa3772aa7ddea5725cc7e7db42d017567e4cc14c (patch) (unidiff) | |
tree | 112ec27dd148d0b381ac559fd3e1ee32a89ecd0d /noncore/apps/zsafe/categorylist.h | |
parent | 059af0e82a14a32f068c2ad943dc918afca93587 (diff) | |
download | opie-fa3772aa7ddea5725cc7e7db42d017567e4cc14c.zip opie-fa3772aa7ddea5725cc7e7db42d017567e4cc14c.tar.gz opie-fa3772aa7ddea5725cc7e7db42d017567e4cc14c.tar.bz2 |
Initial revision
Diffstat (limited to 'noncore/apps/zsafe/categorylist.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/zsafe/categorylist.h | 32 |
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 | |||
13 | class CategoryList | ||
14 | { | ||
15 | public: | ||
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 | |||
26 | private: | ||
27 | |||
28 | }; | ||
29 | #endif // _CATEGORY_LIST_H_ | ||
30 | |||
31 | |||
32 | |||