CollectionCopyJob Class Reference
from PyKDE4.akonadi import *
Inherits: Akonadi.Job → KCompositeJob → KJob → QObject
Namespace: Akonadi.CollectionCopyJob
Detailed Description
Job that copies a collection into another collection in the Akonadi storage.
This job copies a single collection into a specified target collection.
Akonadi.Collection source = ... Akonadi.Collection target = ... Akonadi.CollectionCopyJob *job = new Akonadi.CollectionCopyJob( source, target ); if ( job->exec() ) qDebug() << "Copied successfully"; else qDebug() << "Error occurred";
Methods | |
__init__ (self, Akonadi.Collection source, Akonadi.Collection target, QObject parent=0) | |
doStart (self) |
Method Documentation
__init__ | ( | self, | ||
Akonadi.Collection | source, | |||
Akonadi.Collection | target, | |||
QObject | parent=0 | |||
) |
doStart | ( | self ) |