KContacts
vcardconverter.cpp
112 date = QDate(strView.mid(0, 4).toUInt(), strView.mid(4, 2).toUInt(), strView.mid(6, 2).toUInt());
117 time = QTime(strView.mid(9, 2).toUInt(), strView.mid(11, 2).toUInt(), strView.mid(13, 2).toUInt());
QByteArray createVCards(const Addressee::List &list, Version version=v3_0) const
Creates a string in vCard format which contains the given list of contact.
Definition vcardconverter.cpp:57
QByteArray exportVCard(const Addressee &addr, Version version) const
Definition vcardconverter.cpp:22
Addressee parseVCard(const QByteArray &vcard) const
Parses a string in vCard format and returns the first contact.
Definition vcardconverter.cpp:76
QByteArray createVCard(const Addressee &addr, Version version=v3_0) const
Creates a string in vCard format which contains the given contact.
Definition vcardconverter.cpp:49
Addressee::List parseVCards(const QByteArray &vcard) const
Parses a string in vCard format and returns a list of contact objects.
Definition vcardconverter.cpp:83
QByteArray exportVCards(const Addressee::List &list, Version version) const
Definition vcardconverter.cpp:30
QByteArray & replace(QByteArrayView before, QByteArrayView after)
QString toString(QStringView format, QCalendar cal) const const
QString toString(QStringView format, QCalendar cal) const const
void append(QList< T > &&value)
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.