11#include "akonadicore_export.h"
13#include <KCompositeJob>
85 friend class SessionPrivate;
99 ConnectionFailed = UserDefinedError,
103 UserError = UserDefinedError + 42
126 void start()
override;
132 [[nodiscard]]
QString errorString() const final;
158 virtual
void doStart() = 0;
171 virtual
bool doHandleResponse(qint64 tag, const Protocol::CommandPtr &response);
181 bool addSubjob(
KJob *job) override;
188 bool removeSubjob(
KJob *job) override;
193 bool doKill() override;
199 void emitWriteFinished();
202 void slotResult(
KJob *job) override;
207 std::unique_ptr<JobPrivate> const d_ptr;
211 Q_DECLARE_PRIVATE(
Job)
214 Q_PRIVATE_SLOT(d_func(),
void startNext())
215 Q_PRIVATE_SLOT(d_func(),
void signalCreationToJobTracker())
216 Q_PRIVATE_SLOT(d_func(),
void signalStartedToJobTracker())
217 Q_PRIVATE_SLOT(d_func(),
void delayedEmitResult())
Base class for all actions in the Akonadi storage.
Error
Describes the error codes that can be emitted by this class.
@ ProtocolVersionMismatch
The server protocol version is too old or too new.
@ UserCanceled
The user canceled this job.
A communication session with the Akonadi storage.
Q_SCRIPTABLE Q_NOREPLY void start()
Helper integration between Akonadi and Qt.
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
KDE's Doxygen guidelines are available online.