KPeople
#include <allcontactsmonitor.h>
Inherits QObject.
Inherited by AkonadiAllContacts.
Signals | |
void | contactAdded (const QString &contactUri, const AbstractContact::Ptr &contact) |
void | contactChanged (const QString &contactUri, const AbstractContact::Ptr &contact) |
void | contactRemoved (const QString &contactUri) |
void | initialFetchComplete (bool success) |
Public Member Functions | |
virtual QMap< QString, AbstractContact::Ptr > | contacts () |
bool | initialFetchSuccess () const |
bool | isInitialFetchComplete () const |
Protected Slots | |
void | emitInitialFetchComplete (bool success) |
Detailed Description
This class should be subclassed by each datasource and return a list of all contacts that the datasource knows about.
Subclasses are expected to be asynchronous
Definition at line 43 of file allcontactsmonitor.h.
Member Function Documentation
|
signal |
DataSources should emit this whenever a contact is added.
|
signal |
DataSources should emit this whenever a known contact changes.
|
signal |
DataSources should emit this whenever a contact is removed and they are no longer able to supply up-to-date data on a contact.
|
virtual |
Returns all currently loaded contacts.
Definition at line 51 of file allcontactsmonitor.cpp.
|
protectedslot |
DataSources should call this once they have finished initial retrieval of all contacts from their storage.
This will emit initialFetchComplete() signal
success
Whether the fetch was successful.
Definition at line 66 of file allcontactsmonitor.cpp.
|
signal |
Notifies that the DataSource has completed it's initial fetch.
- Warning
- DataSources should use emitInitialFetchComplete() instead of emitting this signal directly.
- Parameters
-
success True when the fetch was successful, False when an error occurred.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2015 The KDE developers.
Generated on Fri Feb 13 2015 15:16:39 by doxygen 1.8.9.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.