From fa3772aa7ddea5725cc7e7db42d017567e4cc14c Mon Sep 17 00:00:00 2001 From: zcarsten Date: Tue, 22 Jul 2003 19:23:13 +0000 Subject: Initial revision --- (limited to 'noncore/apps/zsafe/categorylist.cpp') 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 */ +/* $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(); +} + + -- cgit v0.9.0.2