Search for usage in LXR

PolkitQt1::UnixUserIdentity Class Reference

#include <Identity>

Inheritance diagram for PolkitQt1::UnixUserIdentity:

Public Member Functions

 UnixUserIdentity (uid_t uid)
 UnixUserIdentity (const QString &name)
 UnixUserIdentity (PolkitUnixUser *pkUnixUser)
void setUid (uid_t uid)
uid_t uid () const
- Public Member Functions inherited from PolkitQt1::Identity
 Identity (PolkitIdentity *polkitIdentity)
 Identity (const Identity &other)
PolkitIdentity * identity () const
bool isValid () const
Identityoperator= (const Identity &other)
QString toString () const
UnixGroupIdentity toUnixGroupIdentity ()
UnixUserIdentity toUnixUserIdentity ()

Additional Inherited Members

- Public Types inherited from PolkitQt1::Identity
typedef QList< IdentityList
- 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 user identity on a UNIX system.

UNIX user identity

See also

Definition at line 104 of file polkitqt1-identity.h.

Constructor & Destructor Documentation

PolkitQt1::UnixUserIdentity::UnixUserIdentity ( uid_t  uid)

Creates UnixUser object by UID of the user.

uiduser id

Definition at line 147 of file polkitqt1-identity.cpp.

PolkitQt1::UnixUserIdentity::UnixUserIdentity ( const QString name)

Creates UnixUser object by unix name of the user.

nameUnix name

Definition at line 136 of file polkitqt1-identity.cpp.

PolkitQt1::UnixUserIdentity::UnixUserIdentity ( PolkitUnixUser *  pkUnixUser)

Creates UnixUser object from PolkitUnixUser object.

Use this only if you are completely aware of what are you doing!
pkUnixUserThe PolkitUnixUser object

Definition at line 153 of file polkitqt1-identity.cpp.

Member Function Documentation

void PolkitQt1::UnixUserIdentity::setUid ( uid_t  uid)

Sets the id of user.

uiduser id

Definition at line 170 of file polkitqt1-identity.cpp.

uid_t PolkitQt1::UnixUserIdentity::uid ( ) const

Gets an user id.

user id

Definition at line 165 of file polkitqt1-identity.cpp.

The documentation for this class 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 16 2021 23:06:38 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.