kabc
21 #ifndef KABC_VCARDTOOL_H
22 #define KABC_VCARDTOOL_H
24 #include "kabc_export.h"
25 #include "addressee.h"
26 #include "vcardparser/vcardparser.h"
37 class KABC_EXPORT VCardTool
47 QByteArray createVCards(
const Addressee::List &list,
48 VCard::Version version = VCard::v3_0 )
const;
53 QByteArray exportVCards(
const Addressee::List &list, VCard::Version version = VCard::v3_0 )
const;
57 Addressee::List parseVCards(
const QByteArray &vcard )
const;
61 QByteArray createVCards(
const Addressee::List &list,
62 VCard::Version version,
bool exportVcard )
const;
68 QStringList splitString(
const QChar &sep,
const QString &value )
const;
70 QDateTime parseDateTime(
const QString &str )
const;
71 QString createDateTime(
const QDateTime &dateTime )
const;
73 Picture parsePicture(
const VCardLine &line )
const;
74 VCardLine createPicture(
const QString &identifier,
const Picture &pic )
const;
76 Sound parseSound(
const VCardLine &line )
const;
77 VCardLine createSound(
const Sound &snd )
const;
79 Key parseKey(
const VCardLine &line )
const;
80 VCardLine createKey(
const Key &key )
const;
82 Secrecy parseSecrecy(
const VCardLine &line )
const;
83 VCardLine createSecrecy(
const Secrecy &secrecy )
const;
85 QMap<QString, Address::TypeFlag> mAddressTypeMap;
86 QMap<QString, PhoneNumber::TypeFlag> mPhoneTypeMap;
88 class VCardToolPrivate;
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Tue Dec 11 2012 12:16:19 by
doxygen 1.8.1.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.