PolkitQt1::Subject
#include <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.
Constructor & Destructor Documentation
◆ Subject() [1/3]
PolkitQt1::Subject::Subject | ( | ) |
Definition at line 39 of file polkitqt1-subject.cpp.
◆ Subject() [2/3]
PolkitQt1::Subject::Subject | ( | const Subject & | other | ) |
Definition at line 54 of file polkitqt1-subject.cpp.
◆ ~Subject()
PolkitQt1::Subject::~Subject | ( | ) |
Definition at line 66 of file polkitqt1-subject.cpp.
◆ Subject() [3/3]
|
protected |
Definition at line 44 of file polkitqt1-subject.cpp.
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.
◆ isValid()
bool PolkitQt1::Subject::isValid | ( | ) | const |
Definition at line 70 of file polkitqt1-subject.cpp.
◆ operator=()
Definition at line 60 of file polkitqt1-subject.cpp.
◆ setSubject()
|
protected |
Definition at line 80 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:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:55:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.