akonadi
resourcebase.h
725 void scheduleCustomTask(QObject *receiver, const char *method, const QVariant &argument, SchedulePriority priority = Append);
772 bool requestItemDelivery(qint64 uid, const QString &remoteId, const QString &mimeType, const QStringList &parts);
The interface for reacting on monitored or replayed changes.
Definition agentbase.h:187
Specifies which parts of an item should be fetched from the Akonadi storage.
Definition itemfetchscope.h:70
Helper class for expanding inter-resource collection moves inside ResourceBase.
Definition recursivemover_p.h:38
virtual bool retrieveItem(const Akonadi::Item &item, const QSet< QByteArray > &parts)=0
Retrieve a single item from the backend.
static int init(int argc, char **argv)
Use this method in the main function of your resource application to initialize your resource subclas...
Definition resourcebase.h:180
virtual void retrieveCollections()=0
Retrieve the collection tree from the remote server and supply it via collectionsRetrieved() or colle...
SchedulePriority
Describes the scheduling priority of a task that has been queued for execution.
Definition resourcebase.h:704
@ Prepend
The task will be executed as soon as the current task has finished.
Definition resourcebase.h:705
@ AfterChangeReplay
The task is scheduled after the last ChangeReplay task in the queue.
Definition resourcebase.h:706
void retrieveNextItemSyncBatch(int remainingBatchSize)
Emitted when the item synchronization processed the current batch and is ready for a new one.
void attributesSynchronized(qlonglong collectionId)
Emitted when a collection attributes synchronization has been completed.
void nameChanged(const QString &name)
This signal is emitted whenever the name of the resource has changed.
virtual void retrieveItems(const Akonadi::Collection &collection)=0
Retrieve all (new/changed) items in collection collection.
QString dumpResourceToString() const
Dump resource internals, for debugging.
Definition resourcebase.h:347
void collectionTreeSynchronized()
Emitted when a collection tree synchronization has been completed.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.