akonadi
recentcontactscollectionrequestjob.cpp
41 displayNameMap.insert( "recent-contacts", i18nc( "recent contacts folder", "Recent Contacts" ) );
48 options.insert( QLatin1String( "Path" ), QString( KGlobal::dirs()->localxdgdatadir() + QLatin1String( "recent-contacts" ) ) );
void setIconForTypeMap(const QMap< QByteArray, QString > &map)
Sets the map of special collection types to icon names.
Definition: specialcollectionsrequestjob.cpp:337
QList< Key > keys() const
RecentContactsCollectionRequestJob(QObject *parent=0)
Creates a new recent contacts collection request job.
Definition: recentcontactscollectionrequestjob.cpp:36
void requestCollection(const AgentInstance &instance)
Requests the recent contacts collection in the given resource instance.
Definition: recentcontactscollectionrequestjob.cpp:67
void requestCollection(const QByteArray &type, const AgentInstance &instance)
Requests a special collection of the given type in the given resource instance.
Definition: specialcollectionsrequestjob.cpp:301
void setTypes(const QList< QByteArray > &types)
Sets the list of well known special collection types.
Definition: specialcollectionsrequestjob.cpp:327
~RecentContactsCollectionRequestJob()
Destroys the recent contacts collection request job.
Definition: recentcontactscollectionrequestjob.cpp:58
void requestDefaultCollection(const QByteArray &type)
Requests a special collection of the given type in the default resource.
Definition: specialcollectionsrequestjob.cpp:294
void setDefaultResourceType(const QString &type)
Sets the type of the resource that shall be created if the requested special collection does not exis...
Definition: specialcollectionsrequestjob.cpp:317
iterator insert(const Key &key, const T &value)
void requestDefaultCollection()
Requests the recent contacts collection in the default resource.
Definition: recentcontactscollectionrequestjob.cpp:62
void setNameForTypeMap(const QMap< QByteArray, QString > &map)
Sets the map of special collection types to display names.
Definition: specialcollectionsrequestjob.cpp:332
void setDefaultResourceOptions(const QVariantMap &options)
Sets the configuration options that shall be applied to the new resource that is created if the reque...
Definition: specialcollectionsrequestjob.cpp:322
A job to request SpecialCollections.
Definition: specialcollectionsrequestjob.h:54
const T value(const Key &key) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 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:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.