9#include "kgapidrive_export.h"
44 static const QString AdminManagedRestrictions;
45 static const QString CopyRequiresWriterPermission;
46 static const QString DomainUsersOnly;
47 static const QString DriveMembersOnly;
56 return !operator==(other);
63 bool adminManagedRestrictions()
const;
71 void setAdminManagedRestrictions(
bool adminManagedRestrictions)
const;
79 [[nodiscard]]
bool copyRequiresWriterPermission()
const;
89 void setCopyRequiresWriterPermission(
bool copyRequiresWriterPermission)
const;
97 [[nodiscard]]
bool domainUsersOnly()
const;
107 void setDomainUsersOnly(
bool domainUsersOnly)
const;
113 [[nodiscard]]
bool driveMembersOnly()
const;
121 void setDriveMembersOnly(
bool driveMembersOnly)
const;
126 friend class Private;
140 static const QString CanAddChildren;
141 static const QString CanChangeCopyRequiresWriterPermissionRestriction;
142 static const QString CanChangeDomainUsersOnlyRestriction;
143 static const QString CanChangeDriveBackground;
144 static const QString CanChangeDriveMembersOnlyRestriction;
145 static const QString CanComment;
147 static const QString CanDeleteChildren;
148 static const QString CanDeleteDrive;
149 static const QString CanDownload;
151 static const QString CanListChildren;
152 static const QString CanManageMembers;
153 static const QString CanReadRevisions;
154 static const QString CanRename;
155 static const QString CanRenameDrive;
157 static const QString CanTrashChildren;
166 return !operator==(other);
173 bool canAddChildren()
const;
179 bool canChangeCopyRequiresWriterPermissionRestriction()
const;
185 bool canChangeDomainUsersOnlyRestriction()
const;
191 bool canChangeDriveBackground()
const;
197 bool canChangeDriveMembersOnlyRestriction()
const;
203 bool canComment()
const;
208 bool canCopy()
const;
214 bool canDeleteChildren()
const;
222 bool canDeleteDrive()
const;
228 bool canDownload()
const;
234 bool canEdit()
const;
240 bool canListChildren()
const;
246 bool canManageMembers()
const;
252 bool canReadRevisions()
const;
258 bool canRename()
const;
263 bool canRenameDrive()
const;
269 bool canShare()
const;
275 bool canTrashChildren()
const;
280 friend class Private;
295 static const QString XCoordinate;
296 static const QString YCoordinate;
306 return !operator==(other);
321 void setId(
const QString &
id)
const;
331 float xCoordinate()
const;
343 void setXCoordinate(
float xCoordinate)
const;
352 float yCoordinate()
const;
363 void setYCoordinate(
float yCoordinate)
const;
385 void setWidth(
float width)
const;
390 friend class Private;
399 static const QString KindDrive;
400 static const QString PageToken;
401 static const QString NextPageToken;
407 static const QString BackgroundImageLink;
409 static const QString CreatedDate;
417 bool operator==(
const Drives &other)
const;
418 bool operator!=(
const Drives &other)
const
420 return !operator==(other);
437 void setId(
const QString &
id)
const;
449 void setName(
const QString &name)
const;
461 void setThemeId(
const QString &themeId)
const;
473 void setColorRgb(
const QString &colorRgb)
const;
478 BackgroundImageFilePtr backgroundImageFile()
const;
485 void setBackgroundImageFile(
const BackgroundImageFilePtr &backgroundImageFile)
const;
490 QString backgroundImageLink()
const;
495 CapabilitiesPtr capabilities()
const;
511 RestrictionsPtr restrictions()
const;
518 void setRestrictions(
const RestrictionsPtr &restrictions)
const;
520 static DrivesPtr fromJSON(
const QByteArray &jsonData);
522 static QByteArray toJSON(
const DrivesPtr &drives);
527 friend class Private;
Drives::BackgroundImageFile holds the structure used for backgroundImageFile property.
Drives::Capabilities holds the structure used for capabilities the current user has on this shared dr...
Drives::Restrictions holds the structure used for a set of restrictions that apply to this shared dri...
Drives contains a representation of a Drive.
Structure to store additional information about a feed.
Base class for all objects.
A job to fetch a single map tile described by a StaticMapUrl.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:08:13 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.