Diffstat (limited to 'kabc/converter/opie/opieconverter.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kabc/converter/opie/opieconverter.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/kabc/converter/opie/opieconverter.h b/kabc/converter/opie/opieconverter.h index ef7300b..7d2ad85 100644 --- a/kabc/converter/opie/opieconverter.h +++ b/kabc/converter/opie/opieconverter.h | |||
@@ -30,12 +30,14 @@ $Id$ | |||
30 | 30 | ||
31 | #include <qstring.h> | 31 | #include <qstring.h> |
32 | 32 | ||
33 | #include "addressee.h" | 33 | #include "addressee.h" |
34 | #include <opie/ocontact.h> | 34 | #include <opie/ocontact.h> |
35 | 35 | ||
36 | class Categories; | ||
37 | |||
36 | namespace KABC { | 38 | namespace KABC { |
37 | 39 | ||
38 | class OpieConverter | 40 | class OpieConverter |
39 | { | 41 | { |
40 | public: | 42 | public: |
41 | 43 | ||
@@ -44,13 +46,16 @@ public: | |||
44 | */ | 46 | */ |
45 | OpieConverter(); | 47 | OpieConverter(); |
46 | 48 | ||
47 | /** | 49 | /** |
48 | * Destructor. | 50 | * Destructor. |
49 | */ | 51 | */ |
50 | ~OpieConverter(); | 52 | virtual ~OpieConverter(); |
53 | |||
54 | virtual bool init(); | ||
55 | virtual void deinit(); | ||
51 | 56 | ||
52 | /** | 57 | /** |
53 | * Converts a vcard string to an addressee. | 58 | * Converts a vcard string to an addressee. |
54 | * | 59 | * |
55 | * @param contact The opie contact. | 60 | * @param contact The opie contact. |
56 | * @param addr The addressee. | 61 | * @param addr The addressee. |
@@ -61,11 +66,15 @@ public: | |||
61 | * Converts an addressee to a vcard string. | 66 | * Converts an addressee to a vcard string. |
62 | * | 67 | * |
63 | * @param addr The addressee. | 68 | * @param addr The addressee. |
64 | * @param contact The opie contact. | 69 | * @param contact The opie contact. |
65 | */ | 70 | */ |
66 | bool addresseeToOpie( const Addressee &addr, OContact &contact ); | 71 | bool addresseeToOpie( const Addressee &addr, OContact &contact ); |
72 | |||
73 | private: | ||
74 | Categories* catDB; | ||
67 | 75 | ||
76 | |||
68 | }; | 77 | }; |
69 | 78 | ||
70 | } | 79 | } |
71 | #endif | 80 | #endif |