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, 7 insertions, 2 deletions
diff --git a/core/pim/osearch/searchgroup.h b/core/pim/osearch/searchgroup.h index bf5dc67..32f32e0 100644 --- a/core/pim/osearch/searchgroup.h +++ b/core/pim/osearch/searchgroup.h | |||
@@ -17,30 +17,35 @@ | |||
17 | 17 | ||
18 | class QRegExp; | 18 | class QRegExp; |
19 | 19 | ||
20 | /** | 20 | /** |
21 | @author Patrick S. Vogt | 21 | @author Patrick S. Vogt |
22 | */ | 22 | */ |
23 | class SearchGroup : public OListViewItem | 23 | class SearchGroup : public OListViewItem //, QObject |
24 | { | 24 | { |
25 | //Q_OBJECT | ||
25 | public: | 26 | public: |
26 | SearchGroup(QListView* parent, QString name); | 27 | SearchGroup(QListView* parent, QString name); |
27 | 28 | ||
28 | ~SearchGroup(); | 29 | ~SearchGroup(); |
29 | 30 | ||
30 | virtual void expand(); | 31 | virtual void expand(); |
31 | virtual void doSearch(); | 32 | virtual void doSearch(); |
32 | virtual void setSearch(QRegExp); | 33 | virtual void setSearch(QRegExp); |
33 | virtual int rtti() { return Searchgroup;} | 34 | virtual int rtti() { return Searchgroup;} |
34 | 35 | ||
36 | // signals: | ||
37 | // isSearching(QString); | ||
38 | |||
35 | protected: | 39 | protected: |
36 | QRegExp _search; | 40 | QRegExp _search; |
37 | virtual void load() = 0; | 41 | virtual void load() = 0; |
38 | virtual int search() = 0; | 42 | virtual int search() = 0; |
39 | virtual void insertItem( void* ) = 0; | 43 | virtual void insertItem( void* ) = 0; |
40 | void clearList(); | 44 | void clearList(); |
41 | QString _name; | 45 | QString _name; |
42 | bool expanded; | ||
43 | bool loaded; | 46 | bool loaded; |
47 | private: | ||
48 | int realSearch(); | ||
44 | }; | 49 | }; |
45 | 50 | ||
46 | #endif | 51 | #endif |