CollectionModifyJob Class Reference
from PyKDE4.akonadi import *
Inherits: Akonadi.Job
Namespace: Akonadi
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";
Methods | |
__init__ (self, Akonadi.Collection collection, QObject parent=0) | |
doStart (self) |
Method Documentation
__init__ | ( | self, | ||
Akonadi.Collection | collection, | |||
QObject | parent=0 | |||
) |
Creates a new collection modify job for the given collection.
- Parameters:
-
collection The collection to modify. parent The parent object.
doStart | ( | self ) |