kabc
resource.cpp
154 Resource::ConstIterator &Resource::ConstIterator::operator=( const Resource::ConstIterator &other )
virtual const Addressee & operator*() const
Constant Dereference operator.
Definition: resource.cpp:168
virtual void writeConfig(KConfigGroup &group)
virtual DistributionList * findDistributionListByName(const QString &name, Qt::CaseSensitivity caseSensitivity=Qt::CaseSensitive)
Returns a distribution list with the given name or 0.
Definition: resource.cpp:390
iterator erase(iterator pos)
virtual bool operator!=(const ConstIterator &it) const
Inequality operator.
Definition: resource.cpp:202
virtual bool asyncSave(Ticket *ticket)
Saves all addressees asynchronously.
Definition: resource.cpp:445
virtual ConstIterator & operator=(const ConstIterator &)
Assignment operator.
Definition: resource.cpp:154
virtual void clear()
Removes all addressees and distribution lists from the resource.
Definition: resource.cpp:354
virtual Addressee::List findByName(const QString &name)
Searches all addressees which match the specified name.
Definition: resource.cpp:305
QList< T > values() const
a QValueList of Addressee, with sorting functionality
Definition: addresseelist.h:288
const_iterator constBegin() const
virtual DistributionList * findDistributionListByIdentifier(const QString &identifier)
Returns a distribution list for the given identifier or 0.
Definition: resource.cpp:385
virtual Addressee::List findByEmail(const QString &email)
Searches all addressees which match the specified email address.
Definition: resource.cpp:320
const_iterator constFind(const Key &key) const
virtual void insertAddressee(const Addressee &addr)
Insert an addressee into the resource.
Definition: resource.cpp:284
void clear()
virtual ConstIterator end() const
Returns an iterator pointing to the last addressee in the resource.
Definition: resource.cpp:257
T value(int i) const
const char * name() const
void append(const T &value)
void savingFinished(Resource *resource)
This signal is emitted when the resource has finished the saving of all addressees from the internal ...
virtual void removeDistributionList(DistributionList *list)
Removes a distribution list from this resource.
Definition: resource.cpp:373
void loadingError(Resource *resource, const QString &msg)
This signal is emitted when an error occurred during loading the addressees from the backend to the i...
const_iterator constEnd() const
Definition: contactgrouptool.h:30
iterator end()
QString identifier() const
Returns the distribution list's identifier.
Definition: distributionlist.cpp:126
Resource * resource()
Returns the resource for which this ticket has been created.
Definition: resource.cpp:49
iterator begin()
virtual void removeAddressee(const Addressee &addr)
Removes an addressee from resource.
Definition: resource.cpp:289
virtual ConstIterator begin() const
Returns an iterator pointing to the first addressee in the resource.
Definition: resource.cpp:242
virtual QStringList allDistributionListNames() const
Returns a list of names of all distribution lists of this resource.
Definition: resource.cpp:420
iterator end()
QString toLower() const
virtual Addressee::List findByCategory(const QString &category)
Searches all addressees which belongs to the specified category.
Definition: resource.cpp:339
void loadingFinished(Resource *resource)
This signal is emitted when the resource has finished the loading of all addressees from the backend ...
Definition: resource.h:64
virtual Addressee findByUid(const QString &uid)
Searches an addressee with the specified unique identifier.
Definition: resource.cpp:294
void savingError(Resource *resource, const QString &msg)
This signal is emitted when an error occurred during saving the addressees from the internal cache to...
virtual QString resourceName() const
typedef ConstIterator
Ticket * createTicket(Resource *)
Factory method, just creates and returns a new Ticket for the given resource.
Definition: resource.cpp:279
iterator insert(const Key &key, const T &value)
virtual QList< DistributionList * > allDistributionLists()
Returns a list of all distribution lists of this resource.
Definition: resource.cpp:415
DistributionListMap mDistListMap
A mapping from unique identifiers to the respective distribution list.
Definition: resource.h:532
typedef Iterator
typedef ConstIterator
virtual bool operator==(const ConstIterator &it) const
Equality operator.
Definition: resource.cpp:197
Addressee::Map mAddrMap
A mapping from KABC UIDs to the respective addressee.
Definition: resource.h:527
iterator find(const Key &key)
iterator begin()
virtual void writeConfig(KConfigGroup &group)
Writes the resource specific config to file.
Definition: resource.cpp:264
const T value(const Key &key) const
int remove(const Key &key)
virtual void insertDistributionList(DistributionList *list)
Adds a distribution list into this resource.
Definition: resource.cpp:366
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:38 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:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.