akonadi
20 #ifndef AKONADI_SPECIALCOLLECTIONSREQUESTJOB_H
21 #define AKONADI_SPECIALCOLLECTIONSREQUESTJOB_H
23 #include "akonadi_export.h"
25 #include <akonadi/collection.h>
26 #include <akonadi/specialcollections.h>
27 #include <akonadi/transactionsequence.h>
29 #include <QtCore/QVariant>
33 class SpecialCollectionsRequestJobPrivate;
68 void requestDefaultCollection(
const QByteArray &type );
73 void requestCollection(
const QByteArray &type,
const AgentInstance &instance );
93 void setDefaultResourceType(
const QString &type );
99 void setDefaultResourceOptions(
const QVariantMap &options );
104 void setTypes(
const QList<QByteArray> &types );
109 void setNameForTypeMap(
const QMap<QByteArray, QString> &map );
114 void setIconForTypeMap(
const QMap<QByteArray, QString> &map );
117 virtual void doStart();
119 virtual void slotResult( KJob *job );
123 friend class SpecialCollectionsRequestJobPrivate;
124 friend class DefaultResourceJobPrivate;
126 SpecialCollectionsRequestJobPrivate *
const d;
128 Q_PRIVATE_SLOT( d,
void lockResult( KJob* ) )
130 Q_PRIVATE_SLOT( d,
void resourceScanResult( KJob* ) )
131 Q_PRIVATE_SLOT( d,
void collectionCreateResult( KJob* ) )
137 #endif // AKONADI_SPECIALCOLLECTIONSREQUESTJOB_H
An interface to special collections.
bool AKONADI_TESTS_EXPORT releaseLock()
Releases the SpecialCollectionsRequestJob lock that was obtained through GetLockJob.
Represents a collection of PIM items.
Base class for jobs that need to run a sequence of sub-jobs in a transaction.
A representation of an agent instance.
A job to request SpecialCollections.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.