Diffstat (limited to 'noncore/apps/zsafe/categorylist.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/zsafe/categorylist.cpp | 35 |
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 @@ +/* C implementation of RC2 encryption algorithm, as described in RFC2268 */ +/* By Matthew Palmer <mjp16@uow.edu.au> */ +/* $Id$ */ + +#include "categorylist.h" + +CategoryList::CategoryList() +{ +} + +CategoryList::~CategoryList() +{ +} + +void CategoryList::insert (QString key, Category *category) +{ + categoryList.insert ((const char *) key, category); +} + +Category *CategoryList::find (QString key) +{ + return categoryList.find ((const char *) key); +} + +void CategoryList::remove (QString key) +{ + categoryList.remove ((const char *) key); +} + +void CategoryList::clear() +{ + categoryList.clear(); +} + + |