10#include "kgapidrive_export.h"
43 FileOrganizerRole = 5,
46 enum Type { UndefinedType = -1, TypeUser = 0, TypeGroup = 1, TypeDomain = 2, TypeAnyone = 3 };
68 return !operator==(other);
74 PermissionDetails::PermissionType permissionType()
const;
79 [[nodiscard]] Permission::Role role()
const;
92 [[nodiscard]]
QString inheritedFrom()
const;
97 [[nodiscard]]
bool inherited()
const;
102 friend class Private;
112 bool operator==(
const Permission &other)
const;
113 bool operator!=(
const Permission &other)
const
115 return !operator==(other);
133 QUrl selfLink()
const;
143 Permission::Role role()
const;
148 void setRole(Permission::Role role);
160 void setAdditionalRoles(
const QList<Role> &additionalRoles);
165 Permission::Type type()
const;
172 void setType(Permission::Type type);
182 bool withLink()
const;
189 void setWithLink(
bool withLink);
194 QUrl photoLink()
const;
214 void setValue(
const QString &value);
239 bool deleted()
const;
254 friend class Private;
255 friend class File::Private;
Details of whether the permissions on this shared drive item are inherited or directly on this item.
Permission contains a permission for a file.
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.