Diffstat (limited to 'core/pim/osearch/searchgroup.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/searchgroup.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/osearch/searchgroup.h b/core/pim/osearch/searchgroup.h index a755e06..ad37d4e 100644 --- a/core/pim/osearch/searchgroup.h +++ b/core/pim/osearch/searchgroup.h @@ -13,36 +13,37 @@ #ifndef SEARCHGROUP_H #define SEARCHGROUP_H #include "olistviewitem.h" class QRegExp; class QPopupMenu; /** @author Patrick S. Vogt */ class SearchGroup : public OListViewItem { public: SearchGroup(QListView* parent, QString name); ~SearchGroup(); virtual void expand(); virtual void doSearch(); 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; + QRegExp _search; + QRegExp _lastSearch; QString _name; bool loaded; int _resultCount; private: int realSearch(); }; #endif |