11#include "kiocore_export.h"
12#include <qplatformdefs.h>
19typedef QPair<QString, unsigned short> ACLUserPermissions;
24typedef QPair<QString, unsigned short> ACLGroupPermissions;
53 KACL(mode_t basicPermissions);
65 bool operator==(
const KACL &rhs)
const;
67 bool operator!=(
const KACL &rhs)
const;
80 unsigned short ownerPermissions()
const;
84 bool setOwnerPermissions(
unsigned short);
87 unsigned short owningGroupPermissions()
const;
91 bool setOwningGroupPermissions(
unsigned short);
94 unsigned short othersPermissions()
const;
98 bool setOthersPermissions(
unsigned short);
101 mode_t basePermissions()
const;
110 bool isExtended()
const;
116 unsigned short maskPermissions(
bool &exists)
const;
122 bool setMaskPermissions(
unsigned short);
129 unsigned short namedUserPermissions(
const QString &name,
bool *exists)
const;
134 bool setNamedUserPermissions(
const QString &name,
unsigned short);
153 unsigned short namedGroupPermissions(
const QString &name,
bool *exists)
const;
158 bool setNamedGroupPermissions(
const QString &name,
unsigned short);
175 bool setACL(
const QString &aclStr);
184 virtual void virtual_hook(
int id,
void *data);
188 std::unique_ptr<KACLPrivate>
const d;
The KACL class encapsulates a POSIX Access Control List.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:45 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.