akonadi
specialcollectionsrequestjob.h
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 setIconForTypeMap(const QMap< QByteArray, QString > &map)
Sets the map of special collection types to icon names.
Definition specialcollectionsrequestjob.cpp:337
void setTypes(const QList< QByteArray > &types)
Sets the list of well known special collection types.
Definition specialcollectionsrequestjob.cpp:327
virtual void doStart()
This method must be reimplemented in the concrete jobs.
Definition specialcollectionsrequestjob.cpp:342
Collection collection() const
Returns the requested collection.
Definition specialcollectionsrequestjob.cpp:308
SpecialCollectionsRequestJob(SpecialCollections *collections, QObject *parent=0)
Creates a new special collections request job.
Definition specialcollectionsrequestjob.cpp:282
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
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
TransactionSequence(QObject *parent=0)
Creates a new transaction sequence.
Definition transactionsequence.cpp:74
bool AKONADI_TESTS_EXPORT releaseLock()
Releases the SpecialCollectionsRequestJob lock that was obtained through GetLockJob.
Definition specialcollectionshelperjobs.cpp:655
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.