Akonadi
specialcollectionsrequestjob.h
73 explicit SpecialCollectionsRequestJob(SpecialCollections *collections, QObject *parent = nullptr);
void requestCollection(const QByteArray &type, const AgentInstance &instance)
Requests a special collection of the given type in the given resource instance.
Definition specialcollectionsrequestjob.cpp:276
void setIconForTypeMap(const QMap< QByteArray, QString > &map)
Sets the map of special collection types to icon names.
Definition specialcollectionsrequestjob.cpp:312
void setTypes(const QList< QByteArray > &types)
Sets the list of well known special collection types.
Definition specialcollectionsrequestjob.cpp:302
SpecialCollectionsRequestJob(SpecialCollections *collections, QObject *parent=nullptr)
Creates a new special collections request job.
Definition specialcollectionsrequestjob.cpp:260
Collection collection() const
Returns the requested collection.
Definition specialcollectionsrequestjob.cpp:283
void setNameForTypeMap(const QMap< QByteArray, QString > &map)
Sets the map of special collection types to display names.
Definition specialcollectionsrequestjob.cpp:307
~SpecialCollectionsRequestJob() override
Destroys the special collections request job.
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:297
void doStart() override
This method must be reimplemented in the concrete jobs.
Definition specialcollectionsrequestjob.cpp:317
void requestDefaultCollection(const QByteArray &type)
Requests a special collection of the given type in the default resource.
Definition specialcollectionsrequestjob.cpp:269
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:292
TransactionSequence(QObject *parent=nullptr)
Creates a new transaction sequence.
Definition transactionsequence.cpp:68
Helper integration between Akonadi and Qt.
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49: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:49:57 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.