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

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 ); if ( job->exec() ) qDebug() << "Modified successfully"; else qDebug() << "Error occurred";
Definition at line 53 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.
- 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 53 of file collectionmodifyjob.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference