summaryrefslogtreecommitdiff
path: root/core/pim/osearch/searchgroup.h
authortille <tille>2003-05-11 19:19:30 (UTC)
committer tille <tille>2003-05-11 19:19:30 (UTC)
commit43c18630840a98aed8deb96b454957c40f0a4344 (patch) (side-by-side diff)
tree60e5b68d1d172c77560d5af7bea83e81be7144a6 /core/pim/osearch/searchgroup.h
parent38dc2fd6258f11ba0507c7bd8f8dfd5b39bc0df5 (diff)
downloadopie-43c18630840a98aed8deb96b454957c40f0a4344.zip
opie-43c18630840a98aed8deb96b454957c40f0a4344.tar.gz
opie-43c18630840a98aed8deb96b454957c40f0a4344.tar.bz2
improved applnk and doclnk searching
clean up: - mainwindow: handling of searchgroups - searchgroups: introduced load, search and insertItem functions - flexible actions handling - doclnksearch inherits applnksearch
Diffstat (limited to 'core/pim/osearch/searchgroup.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/searchgroup.h9
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
@@ -15,7 +15,7 @@
#include "olistviewitem.h"
-#include <qregexp.h>
+class QRegExp;
/**
@author Patrick S. Vogt
@@ -32,11 +32,18 @@ public:
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