PolkitQt1::Subject

Search for usage in LXR

#include <Subject>

Inheritance diagram for PolkitQt1::Subject:

Public Member Functions

 Subject (const Subject &other)
 
bool isValid () const
 
Subjectoperator= (const Subject &other)
 
PolkitSubject * subject () const
 
QString toString () const
 

Static Public Member Functions

static Subject fromString (const QString &string)
 

Protected Member Functions

 Subject (PolkitSubject *subject)
 
void setSubject (PolkitSubject *subject)
 

Detailed Description

This class represents PolicyKit subjects.

Author
Jaroslav Reznik jrezn[email protected][email protected][email protected]edhat[email protected].com

This class encapsulates the PolkitSubject interface.

See also
UnixProcess
SystemBusName
UnixSession

Definition at line 44 of file polkitqt1-subject.h.

Member Function Documentation

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

Creates the Subject object from string reprezentation.

Parameters
stringstring reprezentation of the object
Returns
Pointer to new Subject instance

Definition at line 96 of file polkitqt1-subject.cpp.

PolkitSubject * PolkitQt1::Subject::subject ( ) const

Gets PolkitSubject object.

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

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

QString PolkitQt1::Subject::toString ( ) const

Serialization of object to the string.

Returns
Serialized Subject object

Definition at line 90 of file polkitqt1-subject.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.