summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/searchgroup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/osearch/searchgroup.h b/core/pim/osearch/searchgroup.h
index de74efb..23aa82a 100644
--- a/core/pim/osearch/searchgroup.h
+++ b/core/pim/osearch/searchgroup.h
@@ -1,49 +1,49 @@
1// 1//
2// 2//
3// C++ Interface: $MODULE$ 3// C++ Interface: $MODULE$
4// 4//
5// Description: 5// Description:
6// 6//
7// 7//
8// Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003 8// Author: Patrick S. Vogt <tille@handhelds.org>, (C) 2003
9// 9//
10// Copyright: See COPYING file that comes with this distribution 10// Copyright: See COPYING file that comes with this distribution
11// 11//
12// 12//
13#ifndef SEARCHGROUP_H 13#ifndef SEARCHGROUP_H
14#define SEARCHGROUP_H 14#define SEARCHGROUP_H
15 15
16#include "olistviewitem.h" 16#include "olistviewitem.h"
17 17
18class QRegExp; 18class QRegExp;
19class QPopupMenu; 19class QPopupMenu;
20 20
21/** 21/**
22@author Patrick S. Vogt 22@author Patrick S. Vogt
23*/ 23*/
24class SearchGroup : public OListViewItem 24class SearchGroup : public OListViewItem
25{ 25{
26public: 26public:
27 SearchGroup(QListView* parent, QString name); 27 SearchGroup(QListView* parent, QString name);
28 28
29 ~SearchGroup(); 29 ~SearchGroup();
30 30
31 virtual void expand(); 31 virtual void expand();
32 virtual void doSearch(); 32 virtual void doSearch();
33 virtual void setSearch(QRegExp); 33 virtual void setSearch(QRegExp);
34 virtual int rtti() { return Searchgroup;} 34 virtual int rtti() { return Searchgroup;}
35 35
36protected: 36protected:
37 virtual void load() = 0; 37 virtual void load() = 0;
38 virtual int search() = 0; 38 virtual int search() = 0;
39 virtual void insertItem( void* ) = 0; 39 virtual void insertItem( void* ) = 0;
40 QRegExp _search; 40 QRegExp _search;
41 QRegExp _lastSearch; 41 QRegExp _lastSearch;
42 QString _name; 42 QString _name;
43 bool loaded : 1;
44 int _resultCount;
45private: 43private:
46 int realSearch(); 44 int realSearch();
45 bool loaded :1;
46 int _resultCount;
47}; 47};
48 48
49#endif 49#endif