PolkitQt1::UnixGroupIdentity
PolkitQt1::UnixGroupIdentity Class Reference
#include <Identity>
Inheritance diagram for PolkitQt1::UnixGroupIdentity:
Public Member Functions | |
UnixGroupIdentity (const QString &name) | |
UnixGroupIdentity (gid_t gid) | |
UnixGroupIdentity (PolkitUnixGroup *pkUnixGroup) | |
gid_t | gid () const |
void | setGid (gid_t gid) |
Public Member Functions inherited from PolkitQt1::Identity | |
Identity (const Identity &other) | |
Identity (PolkitIdentity *polkitIdentity) | |
PolkitIdentity * | identity () const |
bool | isValid () const |
Identity & | operator= (const Identity &other) |
QString | toString () const |
UnixGroupIdentity | toUnixGroupIdentity () |
UnixUserIdentity | toUnixUserIdentity () |
Additional Inherited Members | |
Public Types inherited from PolkitQt1::Identity | |
typedef QList< Identity > | List |
Static Public Member Functions inherited from PolkitQt1::Identity | |
static Identity | fromString (const QString &string) |
Protected Member Functions inherited from PolkitQt1::Identity | |
void | setIdentity (PolkitIdentity *identity) |
Detailed Description
An object representing a group identity on a UNIX system.
UNIX group identity
- See also
- Identity
Definition at line 154 of file polkitqt1-identity.h.
Constructor & Destructor Documentation
◆ UnixGroupIdentity() [1/4]
PolkitQt1::UnixGroupIdentity::UnixGroupIdentity | ( | ) |
Definition at line 196 of file polkitqt1-identity.cpp.
◆ UnixGroupIdentity() [2/4]
|
explicit |
Creates UnixGroup object by GID of the group.
- Parameters
-
gid group id
Definition at line 184 of file polkitqt1-identity.cpp.
◆ UnixGroupIdentity() [3/4]
|
explicit |
Creates UnixGroup object by unix name of the group.
- Parameters
-
name group name
Definition at line 173 of file polkitqt1-identity.cpp.
◆ UnixGroupIdentity() [4/4]
|
explicit |
Creates UnixGroup object from PolkitUnixGroup object.
- Warning
- Use this only if you are completely aware of what are you doing!
- Parameters
-
pkUnixGroup The PolkitUnixGroup object
Definition at line 190 of file polkitqt1-identity.cpp.
Member Function Documentation
◆ gid()
gid_t PolkitQt1::UnixGroupIdentity::gid | ( | ) | const |
◆ setGid()
void PolkitQt1::UnixGroupIdentity::setGid | ( | gid_t | gid | ) |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 15 2024 11:56:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 15 2024 11:56:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.