kabc
vcardformat.cpp
a QValueList of Addressee, with sorting functionality
Definition: addresseelist.h:288
void setResource(Resource *resource)
Set resource where the addressee is from.
Definition: addressee.cpp:2147
virtual ConstIterator end() const
Returns an iterator pointing to the last addressee in the resource.
Definition: resource.cpp:257
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
void saveAll(AddressBook *, Resource *, QFile *file)
Save whole addressbook to file.
Definition: vcardformat.cpp:90
void save(const Addressee &, QFile *file)
Save a single Addressee to file.
Definition: vcardformat.cpp:78
Addressee::List parseVCards(const QByteArray &vcard) const
Parses a string in vCard format and returns a list of contact objects.
Definition: vcardconverter.cpp:96
Definition: resource.h:64
virtual ConstIterator begin() const
Returns an iterator pointing to the first addressee in the resource.
Definition: resource.cpp:242
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
bool checkFormat(QFile *file) const
Checks if given file contains the right format.
Definition: vcardformat.cpp:107
This file is part of the KDE documentation.
Documentation copyright © 1996-2016 The KDE developers.
Generated on Thu Oct 6 2016 14:31:10 by doxygen 1.8.12 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2016 The KDE developers.
Generated on Thu Oct 6 2016 14:31:10 by doxygen 1.8.12 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.