KCoreAddons
KGroupId Struct Reference
#include <kuser.h>
Inheritance diagram for KGroupId:

Public Member Functions | |
KGroupId () | |
KGroupId (K_GID gid) | |
KGroupId (const KGroupId &other) | |
![]() | |
bool | isValid () const |
NativeType | nativeId () const |
bool | operator!= (const KUserOrGroupId &other) const |
bool | operator== (const KUserOrGroupId &other) const |
QString | toString () const |
Static Public Member Functions | |
static KGroupId | currentEffectiveGroupId () |
static KGroupId | currentGroupId () |
static KGroupId | fromName (const QString &name) |
Additional Inherited Members | |
![]() | |
typedef K_GID | NativeType |
![]() | |
KUserOrGroupId () | |
KUserOrGroupId (NativeType nativeId) | |
KUserOrGroupId (const KUserOrGroupId< K_GID > &other) | |
KUserOrGroupId & | operator= (const KUserOrGroupId< K_GID > &other) |
Detailed Description
Constructor & Destructor Documentation
|
inlineexplicit |
Member Function Documentation
|
static |
- Returns
- a KGroupId for the current effective user. This is like ::getegid() on UNIX.
- Note
- Windows does not have setuid binaries, so on Windows this will always be the same as KGroupId::currentGroupId()
Definition at line 568 of file kuser_unix.cpp.
|
static |
- Returns
- a KGroupId for the current user. This is like ::getgid() on UNIX.
Definition at line 563 of file kuser_unix.cpp.
- Returns
- A KGroupId for the user with name
name
, or an invalid KGroupId if no user with this name was found on the system
Definition at line 539 of file kuser_unix.cpp.
The documentation for this struct was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 9 2021 23:01:38 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 9 2021 23:01:38 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.