Diffstat (limited to 'core/pim/osearch/searchgroup.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/osearch/searchgroup.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/core/pim/osearch/searchgroup.h b/core/pim/osearch/searchgroup.h index d26ff17..ebe1193 100644 --- a/core/pim/osearch/searchgroup.h +++ b/core/pim/osearch/searchgroup.h @@ -12,13 +12,13 @@ // #ifndef SEARCHGROUP_H #define SEARCHGROUP_H #include "olistviewitem.h" -#include <qregexp.h> +class QRegExp; /** @author Patrick S. Vogt */ class SearchGroup : public OListViewItem { @@ -29,14 +29,21 @@ public: virtual void expand(); virtual void setSearch(QString); virtual void setSearch(QRegExp); virtual int rtti() { return Searchgroup;} + + protected: QRegExp _search; + virtual void load() = 0; + virtual int search() = 0; + virtual void insertItem( void* ) = 0; private: + void clearList(); QString _name; bool expanded; + bool loaded; }; #endif |