kded
kresourcelist.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __kresourcelist_h__
00019 #define __kresourcelist_h__
00020
00021 #include <tqvaluelist.h>
00022 #include <tqstring.h>
00023 #include <tqregexp.h>
00024
00025 class TQDataStream;
00026 class KSycocaEntry;
00027
00028 struct KSycocaResource
00029 {
00030 TQString resource;
00031 TQString extension;
00032 };
00033
00034 class KSycocaResourceList : public TQValueList<KSycocaResource>
00035 {
00036 public:
00037 KSycocaResourceList() { };
00038 void add(const TQString &resource, const TQString &filter)
00039 {
00040 KSycocaResource res;
00041 res.resource = resource;
00042 res.extension = filter.mid(1);
00043 append(res);
00044 }
00045 };
00046
00047 #endif