21 #ifndef KABC_VCARDFORMATIMPL_H
22 #define KABC_VCARDFORMATIMPL_H
28 #include "addressee.h"
31 #include <vcard/include/VCard.h>
47 bool loadAll(
AddressBook *, Resource *, TQFile *file );
48 void save(
const Addressee &, TQFile *file );
49 void saveAll(
AddressBook *, Resource *, TQFile *file );
51 bool readFromString(
const TQString &vcard,
Addressee &addr );
52 bool writeToString(
const Addressee &addressee, TQString &vcard );
55 bool loadAddressee(
Addressee &, VCARD::VCard & );
56 void saveAddressee(
const Addressee &, VCARD::VCard *,
bool intern );
58 void addTextValue (VCARD::VCard *, VCARD::EntityType,
const TQString & );
59 TQString readTextValue( VCARD::ContentLine * );
61 void addDateValue( VCARD::VCard *, VCARD::EntityType,
const TQDate & );
62 TQDate readDateValue( VCARD::ContentLine * );
64 void addDateTimeValue( VCARD::VCard *, VCARD::EntityType,
const TQDateTime & );
65 TQDateTime readDateTimeValue( VCARD::ContentLine * );
67 void addAddressValue( VCARD::VCard *,
const Address & );
68 Address readAddressValue( VCARD::ContentLine * );
70 void addLabelValue( VCARD::VCard *,
const Address & );
72 void addTelephoneValue( VCARD::VCard *,
const PhoneNumber & );
73 PhoneNumber readTelephoneValue( VCARD::ContentLine * );
75 void addNValue( VCARD::VCard *,
const Addressee & );
76 void readNValue( VCARD::ContentLine *,
Addressee & );
78 void addCustomValue( VCARD::VCard *,
const TQString & );
80 void addAddressParam( VCARD::ContentLine *,
int );
81 int readAddressParam( VCARD::ContentLine * );
83 void addGeoValue( VCARD::VCard *,
const Geo & );
84 Geo readGeoValue( VCARD::ContentLine * );
86 void addUTCValue( VCARD::VCard *,
const TimeZone & );
87 TimeZone readUTCValue( VCARD::ContentLine * );
89 void addClassValue( VCARD::VCard *,
const Secrecy & );
90 Secrecy readClassValue( VCARD::ContentLine * );
92 void addKeyValue( VCARD::VCard *,
const Key & );
93 Key readKeyValue( VCARD::ContentLine * );
95 void addPictureValue( VCARD::VCard *, VCARD::EntityType,
const Picture &,
const Addressee &,
bool );
96 Picture readPictureValue( VCARD::ContentLine *, VCARD::EntityType,
const Addressee &addr );
98 void addSoundValue( VCARD::VCard *,
const Sound &,
const Addressee &,
bool );
99 Sound readSoundValue( VCARD::ContentLine *,
const Addressee &addr );
101 void addAgentValue( VCARD::VCard *,
const Agent & );
102 Agent readAgentValue( VCARD::ContentLine * );
Postal address information.
A class to store an encryption key.
Class that holds a Sound clip for a contact.
static data, shared by ALL addressee objects