summaryrefslogtreecommitdiff
path: root/noncore/apps/zsafe/categorylist.cpp
authorzcarsten <zcarsten>2003-07-22 19:23:13 (UTC)
committer zcarsten <zcarsten>2003-07-22 19:23:13 (UTC)
commitfa3772aa7ddea5725cc7e7db42d017567e4cc14c (patch) (unidiff)
tree112ec27dd148d0b381ac559fd3e1ee32a89ecd0d /noncore/apps/zsafe/categorylist.cpp
parent059af0e82a14a32f068c2ad943dc918afca93587 (diff)
downloadopie-fa3772aa7ddea5725cc7e7db42d017567e4cc14c.zip
opie-fa3772aa7ddea5725cc7e7db42d017567e4cc14c.tar.gz
opie-fa3772aa7ddea5725cc7e7db42d017567e4cc14c.tar.bz2
Initial revision
Diffstat (limited to 'noncore/apps/zsafe/categorylist.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/zsafe/categorylist.cpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/noncore/apps/zsafe/categorylist.cpp b/noncore/apps/zsafe/categorylist.cpp
new file mode 100644
index 0000000..2fa59d2
--- a/dev/null
+++ b/noncore/apps/zsafe/categorylist.cpp
@@ -0,0 +1,35 @@
1/* C implementation of RC2 encryption algorithm, as described in RFC2268 */
2/* By Matthew Palmer <mjp16@uow.edu.au> */
3/* $Id$ */
4
5#include "categorylist.h"
6
7CategoryList::CategoryList()
8{
9}
10
11CategoryList::~CategoryList()
12{
13}
14
15void CategoryList::insert (QString key, Category *category)
16{
17 categoryList.insert ((const char *) key, category);
18}
19
20Category *CategoryList::find (QString key)
21{
22 return categoryList.find ((const char *) key);
23}
24
25void CategoryList::remove (QString key)
26{
27 categoryList.remove ((const char *) key);
28}
29
30void CategoryList::clear()
31{
32 categoryList.clear();
33}
34
35