CollectionCopyJob Class Reference
from PyKDE4.akonadi import *
Inherits: Akonadi.Job → KCompositeJob → KJob → QObject
Namespace: Akonadi
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 | |||
| ) |
Creates a new collection copy job to copy the given source collection into target.
- Parameters:
-
source The collection to copy. target The target collection. parent The parent object.
| doStart | ( | self ) |
KDE 4.3 PyKDE API Reference