Diffstat (limited to 'kabc/converter/opie/opieconverter.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kabc/converter/opie/opieconverter.h | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/kabc/converter/opie/opieconverter.h b/kabc/converter/opie/opieconverter.h deleted file mode 100644 index d251a24..0000000 --- a/kabc/converter/opie/opieconverter.h +++ b/dev/null | |||
@@ -1,80 +0,0 @@ | |||
1 | /* | ||
2 | This file is part of libkabc. | ||
3 | Copyright (c) 2002 Tobias Koenig <tokoe@kde.org> | ||
4 | |||
5 | This library is free software; you can redistribute it and/or | ||
6 | modify it under the terms of the GNU Library General Public | ||
7 | License as published by the Free Software Foundation; either | ||
8 | version 2 of the License, or (at your option) any later version. | ||
9 | |||
10 | This library is distributed in the hope that it will be useful, | ||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | Library General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Library General Public License | ||
16 | along with this library; see the file COPYING.LIB. If not, write to | ||
17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | ||
20 | |||
21 | /* | ||
22 | Enhanced Version of the file for platform independent KDE tools. | ||
23 | Copyright (c) 2004 Ulf Schenk | ||
24 | |||
25 | $Id$ | ||
26 | */ | ||
27 | |||
28 | #ifndef KABC_OPIECONVERTER_H | ||
29 | #define KABC_OPIECONVERTER_H | ||
30 | |||
31 | #include <qstring.h> | ||
32 | |||
33 | #include "addressee.h" | ||
34 | #include <opie/ocontact.h> | ||
35 | |||
36 | class Categories; | ||
37 | |||
38 | namespace KABC { | ||
39 | |||
40 | class OpieConverter | ||
41 | { | ||
42 | public: | ||
43 | |||
44 | /** | ||
45 | * Constructor. | ||
46 | */ | ||
47 | OpieConverter(); | ||
48 | |||
49 | /** | ||
50 | * Destructor. | ||
51 | */ | ||
52 | virtual ~OpieConverter(); | ||
53 | |||
54 | bool init(); | ||
55 | void deinit(); | ||
56 | |||
57 | /** | ||
58 | * Converts a vcard string to an addressee. | ||
59 | * | ||
60 | * @param contact The opie contact. | ||
61 | * @param addr The addressee. | ||
62 | */ | ||
63 | bool opieToAddressee( const OContact &contact, Addressee &addr ); | ||
64 | |||
65 | /** | ||
66 | * Converts an addressee to a vcard string. | ||
67 | * | ||
68 | * @param addr The addressee. | ||
69 | * @param contact The opie contact. | ||
70 | */ | ||
71 | bool addresseeToOpie( const Addressee &addr, OContact &contact ); | ||
72 | |||
73 | private: | ||
74 | Categories* catDB; | ||
75 | |||
76 | |||
77 | }; | ||
78 | |||
79 | } | ||
80 | #endif | ||