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

◆ fromString()

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 94 of file polkitqt1-subject.cpp.

◆ subject()

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 75 of file polkitqt1-subject.cpp.

◆ toString()

QString PolkitQt1::Subject::toString ( ) const

Serialization of object to the string.

Returns
Serialized Subject object

Definition at line 88 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-2022 The KDE developers.
Generated on Tue Aug 16 2022 04:02:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.