Polkit-Qt-1  0.95.0
Public Member Functions
PolkitQt1::UnixGroupIdentity Class Reference

UNIX group identity. More...

#include <Identity>

Inheritance diagram for PolkitQt1::UnixGroupIdentity:
PolkitQt1::Identity

Public Member Functions

 UnixGroupIdentity (gid_t gid)
 
 UnixGroupIdentity (const QString &name)
 
 UnixGroupIdentity (PolkitUnixGroup *pkUnixGroup)
 
gid_t gid () const
 
void setGid (gid_t gid)
 
- Public Member Functions inherited from PolkitQt1::Identity
 Identity (PolkitIdentity *polkitIdentity)
 
 Identity (const Identity &other)
 
Identityoperator= (const Identity &other)
 
bool isValid () const
 
QString toString () const
 
UnixUserIdentity toUnixUserIdentity ()
 
UnixGroupIdentity toUnixGroupIdentity ()
 
PolkitIdentity * identity () const
 

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

UNIX group identity.

An object representing a group identity on a UNIX system.

See also
Identity

Constructor & Destructor Documentation

◆ UnixGroupIdentity() [1/3]

PolkitQt1::UnixGroupIdentity::UnixGroupIdentity ( gid_t  gid)
explicit

Creates UnixGroup object by GID of the group

Parameters
gidgroup id

◆ UnixGroupIdentity() [2/3]

PolkitQt1::UnixGroupIdentity::UnixGroupIdentity ( const QString &  name)
explicit

Creates UnixGroup object by unix name of the group

Parameters
namegroup name

◆ UnixGroupIdentity() [3/3]

PolkitQt1::UnixGroupIdentity::UnixGroupIdentity ( PolkitUnixGroup *  pkUnixGroup)
explicit

Creates UnixGroup object from PolkitUnixGroup object

Warning
Use this only if you are completely aware of what are you doing!
Parameters
pkUnixGroupThe PolkitUnixGroup object

Member Function Documentation

◆ gid()

gid_t PolkitQt1::UnixGroupIdentity::gid ( ) const

Gets a group id

Returns
group id

◆ setGid()

void PolkitQt1::UnixGroupIdentity::setGid ( gid_t  gid)

Sets the id of group

Parameters
gidgroup id

The documentation for this class was generated from the following files: