Akonadi
collectionstatisticsjob.cpp
Job that fetches collection statistics from the Akonadi storage.
Definition collectionstatisticsjob.h:52
CollectionStatisticsJob(const Collection &collection, QObject *parent=nullptr)
Creates a new collection statistics job.
Definition collectionstatisticsjob.cpp:34
CollectionStatistics statistics() const
Returns the fetched collection statistics.
Definition collectionstatisticsjob.cpp:79
Collection collection() const
Returns the corresponding collection, if the job was executed successfully, the collection is already...
Definition collectionstatisticsjob.cpp:72
~CollectionStatisticsJob() override
Destroys the collection statistics job.
Definition collectionstatisticsjob.cpp:42
bool doHandleResponse(qint64 tag, const Protocol::CommandPtr &response) override
This method should be reimplemented in the concrete jobs in case you want to handle incoming data.
Definition collectionstatisticsjob.cpp:60
void doStart() override
This method must be reimplemented in the concrete jobs.
Definition collectionstatisticsjob.cpp:46
Provides statistics information of a Collection.
Definition core/collectionstatistics.h:59
virtual bool doHandleResponse(qint64 tag, const Protocol::CommandPtr &response)
This method should be reimplemented in the concrete jobs in case you want to handle incoming data.
Definition job.cpp:381
void setErrorText(const QString &errorText)
void emitResult()
void setError(int errorCode)
Helper integration between Akonadi and Qt.
QString arg(Args &&... args) const const
QString fromUtf8(QByteArrayView str)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:31:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:31:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.