kabc
21#ifndef KABC_VCARDTOOL_H
22#define KABC_VCARDTOOL_H
24#include "kabc_export.h"
26#include "vcardparser/vcardparser.h"
37class 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,
54 VCard::Version version = VCard::v3_0 )
const;
58 Addressee::List parseVCards(
const QByteArray &vcard )
const;
62 QByteArray createVCards(
const Addressee::List &list,
63 VCard::Version version,
bool exportVcard )
const;
69 QStringList splitString(
const QChar &sep,
const QString &value )
const;
71 QDateTime parseDateTime(
const QString &str )
const;
72 QString createDateTime(
const QDateTime &dateTime )
const;
74 Picture parsePicture(
const VCardLine &line )
const;
75 VCardLine createPicture(
const QString &identifier,
const Picture &pic, VCard::Version version)
const;
77 Sound parseSound(
const VCardLine &line )
const;
78 VCardLine createSound(
const Sound &snd, VCard::Version version )
const;
80 Key parseKey(
const VCardLine &line )
const;
81 VCardLine createKey(
const Key &key, VCard::Version version )
const;
83 Secrecy parseSecrecy(
const VCardLine &line )
const;
84 VCardLine createSecrecy(
const Secrecy &secrecy )
const;
86 QMap<QString, Address::TypeFlag> mAddressTypeMap;
87 QMap<QString, PhoneNumber::TypeFlag> mPhoneTypeMap;
88 void addParameter(VCardLine &line, VCard::Version version,
const QString &key,
const QStringList &valueStringList)
const;
89 class VCardToolPrivate;
Class that holds a Calendar Url (FBURL/CALADRURI/CALURI)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.