akonadi
Akonadi::CollectionModifyJob Class Reference
Job that modifies a collection in the Akonadi storage. More...
#include <collectionmodifyjob.h>

Public Member Functions | |
CollectionModifyJob (const Collection &collection, QObject *parent=0) | |
~CollectionModifyJob () | |
Collection | collection () const |
Protected Member Functions | |
virtual void | doStart () |
Detailed Description
Job that modifies a collection in the Akonadi storage.
This job modifies the properties of an existing collection.
Akonadi::Collection collection = ... Akonadi::CollectionModifyJob *job = new Akonadi::CollectionModifyJob( collection ); connect( job, SIGNAL( result( KJob* ) ), this, SLOT( modifyResult( KJob* ) ) );
Definition at line 49 of file collectionmodifyjob.h.
Constructor & Destructor Documentation
Akonadi::CollectionModifyJob::CollectionModifyJob | ( | const Collection & | collection, | |
QObject * | parent = 0 | |||
) | [explicit] |
Creates a new collection modify job for the given collection.
The collection can be identified either by its unique identifier or its remote identifier. Since the remote identifier is not necessarily globally unique, identification by remote identifier only works inside a resource context (that is from within ResourceBase) and is therefore limited to one resource.
- Parameters:
-
collection The collection to modify. parent The parent object.
Akonadi::CollectionModifyJob::~CollectionModifyJob | ( | ) |
Destroys the collection modify job.
Member Function Documentation
Collection Akonadi::CollectionModifyJob::collection | ( | ) | const |
Returns the modified collection.
- Since:
- 4.4
virtual void Akonadi::CollectionModifyJob::doStart | ( | ) | [protected, virtual] |
This method must be reimplemented in the concrete jobs.
It will be called after the job has been started and a connection to the Akonadi backend has been established.
Implements Akonadi::Job.
The documentation for this class was generated from the following file: