KIO
#include <kacl.h>
Protected Member Functions | |
virtual void | virtual_hook (int id, void *data) |
Friends | |
QDataStream & | operator<< (QDataStream &s, const KACL &a) |
QDataStream & | operator>> (QDataStream &s, KACL &a) |
Detailed Description
The KACL class encapsulates a POSIX Access Control List.
It follows the little standard that couldn't, 1003.1e/1003.2c, which died in draft status. a POSIX ACL encapsulation
Constructor & Destructor Documentation
KACL::KACL | ( | const QString & | aclString | ) |
KACL::KACL | ( | mode_t | basicPermissions | ) |
KACL::KACL | ( | ) |
Member Function Documentation
ACLGroupPermissionsList KACL::allGroupPermissions | ( | ) | const |
ACLUserPermissionsList KACL::allUserPermissions | ( | ) | const |
QString KACL::asString | ( | ) | const |
mode_t KACL::basePermissions | ( | ) | const |
bool KACL::isExtended | ( | ) | const |
The interface to the extended ACL.
This is a mask, permissions for n named users and permissions for m named groups. Return whether the ACL contains extended entries or can be expressed using only basic file permissions.
- Returns
- whether the ACL contains extended entries
bool KACL::isValid | ( | ) | const |
unsigned short KACL::maskPermissions | ( | bool & | exists | ) | const |
Access to the permissions entry for a named user, if such an entry exists.
If exists
is non-null, the boolean variable it points to is set to true if a matching entry exists and to false otherwise.
- Returns
- the permissions for a user entry with the name in
name
unsigned short KACL::othersPermissions | ( | ) | const |
unsigned short KACL::ownerPermissions | ( | ) | const |
unsigned short KACL::owningGroupPermissions | ( | ) | const |
bool KACL::setAllGroupPermissions | ( | const ACLGroupPermissionsList & | groups | ) |
bool KACL::setAllUserPermissions | ( | const ACLUserPermissionsList & | list | ) |
bool KACL::setMaskPermissions | ( | unsigned short | v | ) |
bool KACL::setOthersPermissions | ( | unsigned short | v | ) |
bool KACL::setOwnerPermissions | ( | unsigned short | v | ) |
bool KACL::setOwningGroupPermissions | ( | unsigned short | v | ) |
|
protectedvirtual |
Friends And Related Function Documentation
|
friend |
|
friend |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.