PolkitQt1::Subject
Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
List of all members
PolkitQt1::Subject Class Reference
#include <Subject>
Inheritance diagram for PolkitQt1::Subject:

Public Member Functions | |
Subject (const Subject &other) | |
bool | isValid () const |
Subject & | operator= (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.
This class encapsulates the PolkitSubject interface.
- See also
- UnixProcess
- SystemBusName
- UnixSession
Definition at line 44 of file polkitqt1-subject.h.
Member Function Documentation
◆ fromString()
Creates the Subject object from string reprezentation.
- Parameters
-
string string 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-2023 The KDE developers.
Generated on Sat Sep 23 2023 04:07:25 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 23 2023 04:07:25 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.