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 |