00001 /* 00002 ** $Id: categorylist.h,v 1.2 2003/08/13 16:54:10 zcarsten Exp $ 00003 */ 00004 #ifndef _CATEGORY_LIST_H_ 00005 #define _CATEGORY_LIST_H_ 00006 00007 #include <qstring.h> 00008 00009 #include <qdict.h> 00010 00011 #include "category.h" 00012 00013 // list of Category 00014 00015 class CategoryList 00016 { 00017 public: 00018 CategoryList(); 00019 ~CategoryList(); 00020 00021 void insert (QString key, Category *category); 00022 Category *find (QString key); 00023 void remove (QString key); 00024 void clear(); 00025 00026 QDict<Category> categoryList; 00027 00028 private: 00029 00030 }; 00031 #endif // _CATEGORY_LIST_H_ 00032 00033 00034
1.4.2