21 #ifndef KABC_VCARDTOOL_H
22 #define KABC_VCARDTOOL_H
24 #include "addressee.h"
25 #include "vcardparser.h"
37 class KABC_EXPORT VCardTool
47 TQString createVCards( Addressee::List list, VCard::Version version = VCard::v3_0 );
52 Addressee::List parseVCards(
const TQString& vcard );
59 TQStringList splitString(
const TQChar &sep,
const TQString &value );
61 TQDateTime parseDateTime(
const TQString &str );
62 TQString createDateTime(
const TQDateTime &dateTime );
64 Picture parsePicture(
const VCardLine &line );
65 VCardLine createPicture(
const TQString &identifier,
const Picture &pic );
67 Sound parseSound(
const VCardLine &line );
68 VCardLine createSound(
const Sound &snd );
70 Key parseKey(
const VCardLine &line );
71 VCardLine createKey(
const Key &key );
73 Secrecy parseSecrecy(
const VCardLine &line );
74 VCardLine createSecrecy(
const Secrecy &secrecy );
76 Agent parseAgent(
const VCardLine &line );
77 VCardLine createAgent( VCard::Version version,
const Agent &agent );
79 TQMap<TQString, int> mAddressTypeMap;
80 TQMap<TQString, int> mPhoneTypeMap;
82 class VCardToolPrivate;
static data, shared by ALL addressee objects