• Skip to content
  • Skip to link menu
KDE API Documentation - KPeople Namespace Reference (KPeople)
  • KDE Home
  • Contact Us
 

KPeople

Classes | Functions
KPeople Namespace Reference

Classes

class  AbstractContact
 
class  AllContactsMonitor
 
class  ContactMonitor
 
class  MergeDialog
 
class  PersonData
 
class  PersonDetailsView
 
class  PersonsModel
 

Functions

QList< QAction * > actionsForPerson (const QString &contactUri, QObject *parent)
 
static QList< AbstractPersonAction * > actionsPlugins ()
 
KPEOPLE_EXPORT QString iconNameForPresenceString (const QString &presenceName)
 
KPEOPLE_EXPORT QString mergeContacts (const QStringList &uris)
 
KPEOPLE_EXPORT int presenceSortPriority (const QString &presenceName)
 
KPEOPLE_EXPORT bool unmergeContact (const QString &uri)
 

Detailed Description

The KPeople namespace contains all the classes for Libkpeople.

Function Documentation

KPEOPLE_EXPORT QList< QAction * > KPeople::actionsForPerson ( const QString &  contactUri,
QObject *  parent 
)

Returns a list of actions relevant to the specified contactUri.

Definition at line 51 of file actions.cpp.

QString KPeople::iconNameForPresenceString ( const QString &  presenceName)

Return a QPixmap for a TP presence string.

Returns
QPixmap with the Tp presence icon

Definition at line 38 of file global.cpp.

QString KPeople::mergeContacts ( const QStringList &  uris)

Merge all uris into a single person.

Ids can be a mix of person Ids and contact IDs.

  • uris a list of all identifiers to be merged
Returns
the identifier of the new person or an empty string upon failure

Definition at line 28 of file global.cpp.

int KPeople::presenceSortPriority ( const QString &  presenceName)

Returns a sort priority for the given presenceName.

Returns
sort priority of the given presence

Definition at line 63 of file global.cpp.

bool KPeople::unmergeContact ( const QString &  uri)

Unmerge a contact.

Either remove a contact from a given person or remove a person identified by uri.

Returns
Whether the unmerge was successful

Definition at line 33 of file global.cpp.

This file is part of the KDE documentation.
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.

KPeople

Skip menu "KPeople"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • File List

Class Picker

Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal