KPeople
#include <abstractcontact.h>
Inherits QSharedData.
Inherited by MetaContactProxy.
Public Types | |
typedef QList< AbstractContact::Ptr > | List |
typedef QExplicitlySharedDataPointer< AbstractContact > | Ptr |
Public Member Functions | |
virtual QVariant | customProperty (const QString &key) const =0 |
Static Public Attributes | |
static const QString | AllEmailsProperty = QStringLiteral("all-email") |
static const QString | EmailProperty = QStringLiteral("email") |
static const QString | GroupsProperty = QStringLiteral("all-groups") |
static const QString | NameProperty = QStringLiteral("name") |
static const QString | PictureProperty = QStringLiteral("picture") |
static const QString | PresenceProperty = QStringLiteral("presence") |
Detailed Description
KPeople::AbstractContact is the class to provide the data from a given contact by the backends.
To obtain it from a front-end application PersonData and PersonsModel should be used.
Definition at line 38 of file abstractcontact.h.
Member Function Documentation
|
pure virtual |
Generic method to access a random contact property.
- Returns
- the value for the
key
property.
Member Data Documentation
|
static |
QVariantList property that lists the emails the contact has.
Definition at line 68 of file abstractcontact.h.
|
static |
String property representing the preferred name of the contact.
Definition at line 51 of file abstractcontact.h.
|
static |
QVariantList property that lists the groups the contacts belongs to.
Definition at line 65 of file abstractcontact.h.
|
static |
String property representing the display name of the contact.
Definition at line 48 of file abstractcontact.h.
|
static |
QUrl or QPixmap property representing the contacts' avatar.
Definition at line 62 of file abstractcontact.h.
|
static |
String property representing the IM presence of the contact.
Definition at line 57 of file abstractcontact.h.
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.