00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef FILTERLIST_H
00019 #define FILTERLIST_H
00020
00021
00022 #include <ntqptrlist.h>
00023 #include <ntqcombobox.h>
00024
00025
00026 #include <tdeconfig.h>
00027
00028
00029 #include "filterelem.h"
00030 #include "constants.h"
00031
00035 class FilterElem;
00036
00037 class FilterList : public TQPtrList<FilterElem>
00038 {
00039 public:
00040
00041 FilterList ();
00042 virtual ~FilterList();
00043 FilterList& operator = (FilterList& right);
00044 void setCombo (TQComboBox* combo, int nIndex);
00045 void readOptions (TDEConfig* config);
00046
00051 void saveOptions (TDEConfig* config);
00052
00053 protected:
00054
00055 virtual int compareItems (TQPtrCollection::Item item1, TQPtrCollection::Item item2);
00056 virtual TQPtrCollection::Item newItem (TQPtrCollection::Item d);
00057 };
00058
00059 #endif