Kgapi
12#include "kgapipeople_export.h"
14namespace KGAPI2::People
17class KGAPIPEOPLE_EXPORT PersonFetchJob :
public KGAPI2::FetchJob
20 Q_PROPERTY(QString syncToken READ syncToken WRITE setSyncToken NOTIFY syncTokenChanged)
21 Q_PROPERTY(QString receivedSyncToken READ receivedSyncToken NOTIFY receivedSyncTokenChanged)
24 explicit PersonFetchJob(
const AccountPtr &account, QObject* parent =
nullptr);
25 explicit PersonFetchJob(
const QString &resourceName,
const AccountPtr &account, QObject* parent =
nullptr);
28 [[nodiscard]] QString syncToken()
const;
29 [[nodiscard]] QString receivedSyncToken()
const;
32 void setSyncToken(
const QString &syncToken);
35 void syncTokenChanged();
36 void receivedSyncTokenChanged();
39 void start()
override;
40 ObjectsList handleReplyWithItems(
const QNetworkReply *reply,
41 const QByteArray &rawData)
override;
42 bool handleError(
int statusCode,
const QByteArray &rawData)
override;
46 std::unique_ptr<Private> d;
Q_SCRIPTABLE Q_NOREPLY void start()
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:31 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.