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 () | |
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
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.
Definition at line 40 of file collectionmodifyjob.cpp.
CollectionModifyJob::~CollectionModifyJob | ( | ) |
Member Function Documentation
void 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.
Definition at line 51 of file collectionmodifyjob.cpp.
The documentation for this class was generated from the following files: