Kgapi
12#include "kgapidrive_export.h"
14#include "drivessearchquery.h"
22class KGAPIDRIVE_EXPORT DrivesFetchJob :
public KGAPI2::FetchJob
35 Q_PROPERTY(
int maxResults READ maxResults WRITE setMaxResults)
47 Q_PROPERTY(
bool useDomainAdminAccess READ useDomainAdminAccess WRITE setUseDomainAdminAccess)
50 DrivesFetchJob(
const DrivesSearchQuery &query,
const AccountPtr &account, QObject *parent =
nullptr);
51 DrivesFetchJob(
const AccountPtr &account, QObject *parent =
nullptr);
52 DrivesFetchJob(
const QString &drivesId,
const AccountPtr &account, QObject *parent =
nullptr);
53 ~DrivesFetchJob()
override;
55 int maxResults()
const;
56 void setMaxResults(
int maxResults);
58 void setUseDomainAdminAccess(
bool useDomainAdminAccess);
59 [[nodiscard]]
bool useDomainAdminAccess()
const;
61 void setFields(
const QStringList &fields);
62 [[nodiscard]] QStringList fields()
const;
65 void start()
override;
66 KGAPI2::ObjectsList handleReplyWithItems(
const QNetworkReply *reply,
const QByteArray &rawData)
override;
70 QScopedPointer<Private> d;
73 void applyRequestParameters(QUrl &url);
Q_SCRIPTABLE Q_NOREPLY void start()
A job to fetch a single map tile described by a StaticMapUrl.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:30 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.