akonadi
specialcollectionshelperjobs_p.h
53 explicit ResourceScanJob(const QString &resourceId, KCoreConfigSkeleton *settings, QObject *parent = 0);
DefaultResourceJob(KCoreConfigSkeleton *settings, QObject *parent=0)
Creates a new DefaultResourceJob.
Definition specialcollectionshelperjobs.cpp:495
void setNameForTypeMap(const QMap< QByteArray, QString > &map)
Sets the map of special collection types to display names.
Definition specialcollectionshelperjobs.cpp:521
virtual void doStart()
This method must be reimplemented in the concrete jobs.
Definition specialcollectionshelperjobs.cpp:531
void setDefaultResourceType(const QString &type)
Sets the type of the resource that shall be created if the requested special collection does not exis...
Definition specialcollectionshelperjobs.cpp:506
void setTypes(const QList< QByteArray > &types)
Sets the list of well known special collection types.
Definition specialcollectionshelperjobs.cpp:516
void setIconForTypeMap(const QMap< QByteArray, QString > &map)
Sets the map of special collection types to icon names.
Definition specialcollectionshelperjobs.cpp:526
void setDefaultResourceOptions(const QVariantMap &options)
Sets the configuration options that shall be applied to the new resource that is created if the reque...
Definition specialcollectionshelperjobs.cpp:511
GetLockJob(QObject *parent=0)
Creates a new GetLockJob.
Definition specialcollectionshelperjobs.cpp:621
void setResourceId(const QString &resourceId)
Sets the resource ID of the resource to scan.
Definition specialcollectionshelperjobs.cpp:184
QString resourceId() const
Returns the resource ID of the resource being scanned.
Definition specialcollectionshelperjobs.cpp:179
virtual void doStart()
This method must be reimplemented in the concrete jobs.
Definition specialcollectionshelperjobs.cpp:199
ResourceScanJob(const QString &resourceId, KCoreConfigSkeleton *settings, QObject *parent=0)
Creates a new ResourceScanJob.
Definition specialcollectionshelperjobs.cpp:167
Akonadi::Collection::List specialCollections() const
Returns all the collections of this resource which have a SpecialCollectionAttribute.
Definition specialcollectionshelperjobs.cpp:194
Akonadi::Collection rootResourceCollection() const
Returns the root collection of the resource being scanned.
Definition specialcollectionshelperjobs.cpp:189
bool AKONADI_TESTS_EXPORT releaseLock()
Releases the SpecialCollectionsRequestJob lock that was obtained through GetLockJob.
Definition specialcollectionshelperjobs.cpp:655
void setCollectionAttributes(Akonadi::Collection &col, const QByteArray &type, const QMap< QByteArray, QString > &nameForType, const QMap< QByteArray, QString > &iconForType)
Sets on col the required attributes of SpecialCollection type type These are a SpecialCollectionAttri...
Definition specialcollectionshelperjobs.cpp:637
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.