KPeople
personpluginmanager.h
This class allows applications to manage DataSource plugins.
Definition personpluginmanager.h:34
static bool addContact(const QVariantMap &properties)
Creates a contact with the specified properties.
Definition personpluginmanager.cpp:107
static bool deleteContact(const QString &uri)
Deletes a contact with the specified &p uri.
Definition personpluginmanager.cpp:121
static void setDataSourcePlugins(const QHash< QString, BasePersonsDataSource * > &dataSources)
Instead of loading datasources from plugins, set sources manually This is for unit tests only.
Definition personpluginmanager.cpp:81
static void setAutoloadDataSourcePlugins(bool autoloadDataSourcePlugins)
Use this if you explicitly don't want KPeople to autoload all the available data source plugins.
Definition personpluginmanager.cpp:66
static void addDataSource(const QString &sourceId, BasePersonsDataSource *source)
Adds custom data source.
Definition personpluginmanager.cpp:71
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:57 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:57 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.