Diffstat (limited to 'core/pim/osearch/contactitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/contactitem.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/pim/osearch/contactitem.h b/core/pim/osearch/contactitem.h index d6303e2..3c553fc 100644 --- a/core/pim/osearch/contactitem.h +++ b/core/pim/osearch/contactitem.h | |||
@@ -1,41 +1,44 @@ | |||
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 CONTACTITEM_H | 13 | #ifndef CONTACTITEM_H |
14 | #define CONTACTITEM_H | 14 | #define CONTACTITEM_H |
15 | 15 | ||
16 | #include <opie2/opimrecord.h> | ||
17 | #include <opie2/opimcontact.h> | ||
18 | |||
16 | #include "resultitem.h" | 19 | #include "resultitem.h" |
17 | 20 | ||
18 | class OContact; | 21 | using namespace Opie; |
19 | 22 | ||
20 | /** | 23 | /** |
21 | @author Patrick S. Vogt | 24 | @author Patrick S. Vogt |
22 | */ | 25 | */ |
23 | class ContactItem : public ResultItem | 26 | class ContactItem : public ResultItem |
24 | { | 27 | { |
25 | public: | 28 | public: |
26 | ContactItem(OListViewItem* parent, OContact *contact); | 29 | ContactItem(OListViewItem* parent, OPimContact *contact); |
27 | 30 | ||
28 | ~ContactItem(); | 31 | ~ContactItem(); |
29 | 32 | ||
30 | virtual QString toRichText(); | 33 | virtual QString toRichText(); |
31 | virtual void action( int ); | 34 | virtual void action( int ); |
32 | virtual QIntDict<QString> actions(); | 35 | virtual QIntDict<QString> actions(); |
33 | 36 | ||
34 | 37 | ||
35 | private: | 38 | private: |
36 | void setIcon(); | 39 | void setIcon(); |
37 | OContact *_contact; | 40 | OPimContact *_contact; |
38 | 41 | ||
39 | }; | 42 | }; |
40 | 43 | ||
41 | #endif | 44 | #endif |