author | tille <tille> | 2003-05-11 19:19:30 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-11 19:19:30 (UTC) |
commit | 43c18630840a98aed8deb96b454957c40f0a4344 (patch) (unidiff) | |
tree | 60e5b68d1d172c77560d5af7bea83e81be7144a6 /core/pim/osearch/resultitem.h | |
parent | 38dc2fd6258f11ba0507c7bd8f8dfd5b39bc0df5 (diff) | |
download | opie-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/resultitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/resultitem.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/pim/osearch/resultitem.h b/core/pim/osearch/resultitem.h index 2cfb7f8..9e87f99 100644 --- a/core/pim/osearch/resultitem.h +++ b/core/pim/osearch/resultitem.h | |||
@@ -4,30 +4,32 @@ | |||
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 RESULTITEM_H | 13 | #ifndef RESULTITEM_H |
14 | #define RESULTITEM_H | 14 | #define RESULTITEM_H |
15 | 15 | ||
16 | #include <qintdict.h> | ||
17 | |||
16 | #include "olistviewitem.h" | 18 | #include "olistviewitem.h" |
17 | 19 | ||
18 | /** | 20 | /** |
19 | @author Patrick S. Vogt | 21 | @author Patrick S. Vogt |
20 | */ | 22 | */ |
21 | class ResultItem : public OListViewItem | 23 | class ResultItem : public OListViewItem |
22 | { | 24 | { |
23 | public: | 25 | public: |
24 | ResultItem(OListViewItem* parent); | 26 | ResultItem(OListViewItem* parent); |
25 | ~ResultItem(); | 27 | ~ResultItem(); |
26 | 28 | ||
27 | virtual QString toRichText() {return "no text";}; | 29 | virtual QString toRichText() {return "no text";}; |
28 | virtual int rtti() { return Result;} | 30 | virtual int rtti() { return Result;} |
29 | virtual void showItem(); | 31 | virtual void action( int ) = 0; |
30 | virtual void editItem(); | 32 | virtual QIntDict<QString> actions() = 0; |
31 | }; | 33 | }; |
32 | 34 | ||
33 | #endif | 35 | #endif |