ResourceBase Class Reference
from PyKDE4.akonadi import *
Inherits: Akonadi::AgentBase
Detailed Description
- Abstract class:
- This class can be used as a base class for new classes, but can not be instantiated directly.
Signals |
| nameChanged (QString name) |
| synchronized () |
Methods |
| __init__ (self, QString id) |
| cancelTask (self) |
| cancelTask (self, QString error) |
| changeCommitted (self, Akonadi.Item item) |
| changeCommitted (self, Akonadi.Collection collection) |
| clearCache (self) |
| collectionsRetrieved (self, Akonadi.Collection.List collections) |
| collectionsRetrievedIncremental (self, Akonadi.Collection.List changedCollections, Akonadi.Collection.List removedCollections) |
Akonadi.Collection | currentCollection (self) |
Akonadi.Item | currentItem (self) |
| doSetOnline (self, bool online) |
| itemRetrieved (self, Akonadi.Item item) |
| itemsRetrievalDone (self) |
| itemsRetrieved (self, Akonadi.Item.List items) |
| itemsRetrievedIncremental (self, Akonadi.Item.List changedItems, Akonadi.Item.List removedItems) |
QString | name (self) |
| nameChanged (self, QString name) |
| retrieveCollections (self) |
bool | retrieveItem (self, Akonadi.Item item, QSet parts) |
| retrieveItems (self, Akonadi.Collection collection) |
| setItemStreamingEnabled (self, bool enable) |
| setName (self, QString name) |
| setTotalItems (self, int amount) |
| synchronize (self) |
| synchronizeCollection (self, long id) |
| synchronizeCollectionTree (self) |
| synchronized (self) |
Method Documentation
collectionsRetrieved |
( |
self, |
|
|
|
Akonadi.Collection.List |
collections |
|
) |
|
|
|
collectionsRetrievedIncremental |
( |
self, |
|
|
|
Akonadi.Collection.List |
changedCollections, |
|
|
Akonadi.Collection.List |
removedCollections |
|
) |
|
|
|
doSetOnline |
( |
self, |
|
|
|
bool |
online |
|
) |
|
|
|
itemsRetrievalDone |
( |
|
self ) |
|
itemsRetrieved |
( |
self, |
|
|
|
Akonadi.Item.List |
items |
|
) |
|
|
|
itemsRetrievedIncremental |
( |
self, |
|
|
|
Akonadi.Item.List |
changedItems, |
|
|
Akonadi.Item.List |
removedItems |
|
) |
|
|
|
- Signal syntax:
QObject.connect(source, SIGNAL("nameChanged(const QString&)"), target_slot)
retrieveCollections |
( |
|
self ) |
|
- Abstract method:
- This method is abstract and can be overridden but not called directly.
- Abstract method:
- This method is abstract and can be overridden but not called directly.
- Abstract method:
- This method is abstract and can be overridden but not called directly.
setItemStreamingEnabled |
( |
self, |
|
|
|
bool |
enable |
|
) |
|
|
|
setTotalItems |
( |
self, |
|
|
|
int |
amount |
|
) |
|
|
|
synchronizeCollection |
( |
self, |
|
|
|
long |
id |
|
) |
|
|
|
synchronizeCollectionTree |
( |
|
self ) |
|
- Signal syntax:
QObject.connect(source, SIGNAL("synchronized()"), target_slot)