Akonadi
agentbase.h
216 virtual void collectionAdded(const Akonadi::Collection &collection, const Akonadi::Collection &parent);
252 virtual void itemMoved(const Akonadi::Item &item, const Akonadi::Collection &collectionSource, const Akonadi::Collection &collectionDestination);
281 collectionMoved(const Akonadi::Collection &collection, const Akonadi::Collection &collectionSource, const Akonadi::Collection &collectionDestination);
286 * @param changedAttributes The identifiers of the collection parts/attributes that has been changed.
288 virtual void collectionChanged(const Akonadi::Collection &collection, const QSet<QByteArray> &changedAttributes);
315 virtual void itemsFlagsChanged(const Akonadi::Item::List &items, const QSet<QByteArray> &addedFlags, const QSet<QByteArray> &removedFlags);
332 itemsMoved(const Akonadi::Item::List &items, const Akonadi::Collection &sourceCollection, const Akonadi::Collection &destinationCollection);
340 virtual void itemsLinked(const Akonadi::Item::List &items, const Akonadi::Collection &collection);
348 virtual void itemsUnlinked(const Akonadi::Item::List &items, const Akonadi::Collection &collection);
389 virtual void itemsTagsChanged(const Akonadi::Item::List &items, const QSet<Akonadi::Tag> &addedTags, const QSet<Akonadi::Tag> &removedTags);
401 };
BC extension of Observer with support for monitoring item and collection moves.
Definition agentbase.h:238
BC extension of ObserverV2 with support for batch operations.
Definition agentbase.h:302
The interface for reacting on monitored or replayed changes.
Definition agentbase.h:179
void agentActivitiesEnabledChanged(bool enabled)
This signal is emitted whenever the user has changed enabled activities.
void warning(const QString &message)
This signal shall be used to report warnings.
void configurationDialogAccepted()
This signal is emitted whenever the user has accepted the configuration dialog.
void advancedStatus(const QVariantMap &status)
This signal should be emitted whenever the status of the agent has been changed.
void onlineChanged(bool online)
Emitted when the online state changed.
void reloadConfiguration()
Emitted if another application has changed the agent's configuration remotely and called AgentInstanc...
void agentActivitiesChanged(const QStringList &activities)
This signal is emitted whenever the user has changed activities.
void status(int status, const QString &message=QString())
This signal should be emitted whenever the status of the agent has been changed.
void percent(int progress)
This signal should be emitted whenever the progress of an action in the agent (e.g.
void abortRequested()
Emitted when another application has remotely asked the agent to abort its current operation.
static int init(int argc, char **argv)
Use this method in the main function of your agent application to initialize your agent subclass.
Definition agentbase.h:428
void agentNameChanged(const QString &name)
This signal is emitted whenever the name of the agent has changed.
void error(const QString &message)
This signal shall be used to report errors.
void configurationDialogRejected()
This signal is emitted whenever the user has rejected the configuration dialog.
Q_SCRIPTABLE Q_NOREPLY void abort()
Q_SCRIPTABLE CaptureState status()
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:54:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:54:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.