kabc
vcardformat.cpp
a QValueList of Addressee, with sorting functionality
Definition: addresseelist.h:288
QByteArray trimmed() const
void setResource(Resource *resource)
Set resource where the addressee is from.
Definition: addressee.cpp:2147
Addressee::List parseVCards(const QByteArray &vcard) const
Parses a string in vCard format and returns a list of contact objects.
Definition: vcardconverter.cpp:96
bool loadAll(AddressBook *, Resource *, QFile *file)
Load whole addressbook from file.
Definition: vcardformat.cpp:57
virtual void insertAddressee(const Addressee &addr)
Insert an addressee into the resource.
Definition: resource.cpp:284
Class to converting contact objects into vCard format and vice versa.
Definition: vcardconverter.h:53
virtual ConstIterator end() const
Returns an iterator pointing to the last addressee in the resource.
Definition: resource.cpp:257
void saveAll(AddressBook *, Resource *, QFile *file)
Save whole addressbook to file.
Definition: vcardformat.cpp:90
void append(const T &value)
QByteArray createVCards(Addressee::List list, Version version=v3_0) const
Creates a string in vCard format which contains the given list of contact.
Definition: vcardconverter.cpp:70
void save(const Addressee &, QFile *file)
Save a single Addressee to file.
Definition: vcardformat.cpp:78
QByteArray readAll()
T & first()
virtual ConstIterator begin() const
Returns an iterator pointing to the first addressee in the resource.
Definition: resource.cpp:242
iterator end()
bool checkFormat(QFile *file) const
Checks if given file contains the right format.
Definition: vcardformat.cpp:107
Definition: resource.h:64
qint64 write(const char *data, qint64 maxSize)
iterator begin()
qint64 readLine(char *data, qint64 maxSize)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.