KDECore
kuser_unix.cpp
Go to the documentation of this file.
static QStringList allGroupNames()
Returns a list of all group names on this system.
Definition: kuser_unix.cpp:342
QList< KUser > users() const
Returns a list of all users of the group.
Definition: kuser_unix.cpp:316
Definition: kmacroexpander_unix.cpp:34
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
QVariant property(UserProperty which) const
Returns an extended property.
Definition: kuser_unix.cpp:199
bool exists() const
bool operator!=(const KUser &user) const
Two KUser objects are not equal if uid() are not identical.
Definition: kuser_unix.cpp:124
QChar separator()
int size() const
bool operator==(const KUser &user) const
Two KUser objects are equal if the uid() are identical.
Definition: kuser_unix.cpp:120
Definition: kuser.h:216
QString fromLocal8Bit(const char *str, int size)
void append(const T &value)
static QStringList allUserNames()
Returns all user names of the system.
Definition: kuser_unix.cpp:218
Definition: kuser.h:216
Definition: kuser.h:216
bool operator==(const KUserGroup &group) const
Two KUserGroup objects are equal if their gid()s are identical.
Definition: kuser_unix.cpp:296
Definition: kaboutdata.h:33
iterator end()
QStringList userNames() const
Returns a list of all user login names of the group.
Definition: kuser_unix.cpp:320
bool contains(const T &value) const
bool isSuperUser() const
Checks whether the user is the super user (root).
Definition: kuser_unix.cpp:140
Definition: kuser.h:216
static QList< KUserGroup > allGroups()
Returns a list of all groups on this system.
Definition: kuser_unix.cpp:329
KUser(UIDMode mode=UseEffectiveUID)
Creates an object that contains information about the current user.
Definition: kuser_unix.cpp:74
iterator begin()
bool operator!=(const KUserGroup &group) const
Two KUserGroup objects are not equal if their gid()s are not identical.
Definition: kuser_unix.cpp:300
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.