PolkitQt1::Identity

Search for usage in LXR

#include <Identity>

Inheritance diagram for PolkitQt1::Identity:

Public Types

typedef QList< IdentityList
 

Public Member Functions

 Identity (PolkitIdentity *polkitIdentity)
 
 Identity (const Identity &other)
 
PolkitIdentity * identity () const
 
bool isValid () const
 
Identityoperator= (const Identity &other)
 
QString toString () const
 
UnixGroupIdentity toUnixGroupIdentity ()
 
UnixUserIdentity toUnixUserIdentity ()
 

Static Public Member Functions

static Identity fromString (const QString &string)
 

Protected Member Functions

void setIdentity (PolkitIdentity *identity)
 

Detailed Description

Abstract class representing identities.

Author
Lukas Tinkl ltink[email protected][email protected][email protected]dhat.[email protected]com

This class encapsulates the PolkitIdentity interface.

See also
UnixGroup
UnixUser

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

Member Function Documentation

Identity PolkitQt1::Identity::fromString ( const QString string)
static

Creates the Identity object from string representation.

Parameters
stringstring representation of the object
Returns
Pointer to new Identity instance

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

PolkitIdentity * PolkitQt1::Identity::identity ( ) const

Gets PolkitIdentity object.

Warning
It shouldn't be used directly unless you are completely aware of what are you doing
Returns
Pointer to PolkitIdentity instance

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

QString PolkitQt1::Identity::toString ( ) const

Serialization of object to the string.

Returns
Serialized Identity object

Definition at line 99 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.