Akonadi::RelationFetchJob
#include <relationfetchjob.h>
Signals | |
void | relationsReceived (const Akonadi::Relation::List &relations) |
Signals inherited from Akonadi::Job | |
void | aboutToStart (Akonadi::Job *job) |
void | writeFinished (Akonadi::Job *job) |
Signals inherited from KJob | |
void | description (KJob *job, const QString &title, const QPair< QString, QString > &field1=QPair< QString, QString >(), const QPair< QString, QString > &field2=QPair< QString, QString >()) |
void | finished (KJob *job) |
void | infoMessage (KJob *job, const QString &message) |
void | percentChanged (KJob *job, unsigned long percent) |
void | processedAmountChanged (KJob *job, KJob::Unit unit, qulonglong amount) |
void | processedSize (KJob *job, qulonglong size) |
void | result (KJob *job) |
void | resumed (KJob *job) |
void | speed (KJob *job, unsigned long speed) |
void | suspended (KJob *job) |
void | totalAmountChanged (KJob *job, KJob::Unit unit, qulonglong amount) |
void | totalSize (KJob *job, qulonglong size) |
void | warning (KJob *job, const QString &message) |
Detailed Description
Job that to fetch relations from Akonadi storage.
- Since
- 4.15
Definition at line 21 of file relationfetchjob.h.
Constructor & Destructor Documentation
◆ RelationFetchJob() [1/2]
|
explicit |
Creates a new relation fetch job.
- Parameters
-
relation The relation to fetch. parent The parent object.
Definition at line 59 of file relationfetchjob.cpp.
◆ RelationFetchJob() [2/2]
|
explicit |
Definition at line 67 of file relationfetchjob.cpp.
Member Function Documentation
◆ doHandleResponse()
|
overrideprotectedvirtual |
This method should be reimplemented in the concrete jobs in case you want to handle incoming data.
It will be called on received data from the backend. The default implementation does nothing.
- Parameters
-
tag The tag of the corresponding command, empty if this is an untagged response. response The received response
- Returns
- Implementations should return true if the last response was processed and the job can emit result. Return false if more responses from server are expected.
Reimplemented from Akonadi::Job.
Definition at line 86 of file relationfetchjob.cpp.
◆ doStart()
|
overrideprotectedvirtual |
This method must be reimplemented in the concrete jobs.
It will be called after the job has been started and a connection to the Akonadi backend has been established.
Implements Akonadi::Job.
Definition at line 75 of file relationfetchjob.cpp.
◆ relations()
Relation::List RelationFetchJob::relations | ( | ) | const |
Returns the relations.
Definition at line 108 of file relationfetchjob.cpp.
◆ relationsReceived
|
signal |
This signal is emitted whenever new relations have been fetched completely.
- Parameters
-
relations The fetched relations.
◆ setResource()
Definition at line 114 of file relationfetchjob.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:39 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.