summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/ocontact.h
Unidiff
Diffstat (limited to 'libopie2/opiepim/ocontact.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiepim/ocontact.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/libopie2/opiepim/ocontact.h b/libopie2/opiepim/ocontact.h
index 34888dc..445fd7d 100644
--- a/libopie2/opiepim/ocontact.h
+++ b/libopie2/opiepim/ocontact.h
@@ -17,52 +17,57 @@
17 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A 17 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A
18 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU 18 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU
19..}^=.= = ; Library General Public License for more 19..}^=.= = ; Library General Public License for more
20++= -. .` .: details. 20++= -. .` .: details.
21 : = ...= . :.=- 21 : = ...= . :.=-
22 -. .:....=;==+<; You should have received a copy of the GNU 22 -. .:....=;==+<; You should have received a copy of the GNU
23 -_. . . )=. = Library General Public License along with 23 -_. . . )=. = Library General Public License along with
24 -- :-=` this library; see the file COPYING.LIB. 24 -- :-=` this library; see the file COPYING.LIB.
25 If not, write to the Free Software Foundation, 25 If not, write to the Free Software Foundation,
26 Inc., 59 Temple Place - Suite 330, 26 Inc., 59 Temple Place - Suite 330,
27 Boston, MA 02111-1307, USA. 27 Boston, MA 02111-1307, USA.
28*/ 28*/
29#ifndef __OCONTACT_H__
30#define __OCONTACT_H__
31 29
30#ifndef OCONTACT_H
31#define OCONTACT_H
32
33/* OPIE */
32#include <opie2/opimrecord.h> 34#include <opie2/opimrecord.h>
33#include <qpe/recordfields.h> 35#include <qpe/recordfields.h>
34 36
37/* QT */
35#include <qdatetime.h> 38#include <qdatetime.h>
36#include <qstringlist.h> 39#include <qstringlist.h>
37 40
38#if defined(QPC_TEMPLATEDLL) 41#if defined(QPC_TEMPLATEDLL)
39// MOC_SKIP_BEGIN 42// MOC_SKIP_BEGIN
40QPC_TEMPLATEEXTERN template class QPC_EXPORT QMap<int, QString>; 43QPC_TEMPLATEEXTERN template class QPC_EXPORT QMap<int, QString>;
41// MOC_SKIP_END 44// MOC_SKIP_END
42#endif 45#endif
43 46
44namespace Opie { 47namespace Opie
48{
45class OContactPrivate; 49class OContactPrivate;
46 50
47/** 51/**
48 * OContact class represents a specialised PIM Record for contacts. 52 * OContact class represents a specialised PIM Record for contacts.
49 * It does store all kind of persopn related information. 53 * It does store all kind of persopn related information.
50 * 54 *
51 * @short Contact Container 55 * @short Contact Container
52 * @author TT, Stefan Eiler, Holger Freyther 56 * @author TT, Stefan Eiler, Holger Freyther
53 */ 57 */
54class QPC_EXPORT OContact : public OPimRecord 58class QPC_EXPORT OContact : public OPimRecord
55{ 59{
56 friend class DataSet; 60 friend class DataSet;
61
57public: 62public:
58 OContact(); 63 OContact();
59 OContact( const QMap<int, QString> &fromMap ); 64 OContact( const QMap<int, QString> &fromMap );
60 virtual ~OContact(); 65 virtual ~OContact();
61 66
62 enum DateFormat{ 67 enum DateFormat{
63 Zip_City_State = 0, 68 Zip_City_State = 0,
64 City_State_Zip 69 City_State_Zip
65 }; 70 };
66 71
67 /* 72 /*
68 * do we need to inline them 73 * do we need to inline them