Diffstat (limited to 'core/pim/osearch/searchgroup.h') (more/less context) (ignore 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 @@ -6,37 +6,44 @@ // // // Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003 // // Copyright: See COPYING file that comes with this distribution // // #ifndef SEARCHGROUP_H #define SEARCHGROUP_H #include "olistviewitem.h" -#include <qregexp.h> +class QRegExp; /** @author Patrick S. Vogt */ class SearchGroup : public OListViewItem { public: SearchGroup(QListView* parent, QString name); ~SearchGroup(); 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 |