Search for usage in LXR

PolkitQt1::SystemBusNameSubject Class Reference

#include <Subject>

Inheritance diagram for PolkitQt1::SystemBusNameSubject:

Public Member Functions

 SystemBusNameSubject (const QString &name)
 SystemBusNameSubject (PolkitSystemBusName *pkSystemBusName)
QString name () const
void setName (const QString &name)
UnixUserIdentity user ()
- Public Member Functions inherited from PolkitQt1::Subject
 Subject (const Subject &other)
bool isValid () const
Subjectoperator= (const Subject &other)
PolkitSubject * subject () const
QString toString () const

Additional Inherited Members

- Static Public Member Functions inherited from PolkitQt1::Subject
static Subject fromString (const QString &string)
- Protected Member Functions inherited from PolkitQt1::Subject
 Subject (PolkitSubject *subject)
void setSubject (PolkitSubject *subject)

Detailed Description

A class for representing a process owning a unique name on the system bus.

Jaroslav Reznik jrezn[email protected][email protected][email protected]edhat[email protected].com
See also

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

Constructor & Destructor Documentation

PolkitQt1::SystemBusNameSubject::SystemBusNameSubject ( const QString name)

Subject constructor, takes one parameter - system bus name.

nameA unique system bus name.

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

PolkitQt1::SystemBusNameSubject::SystemBusNameSubject ( PolkitSystemBusName *  pkSystemBusName)

Subject constructor, it creates SystemBusName object from PolkitSystemBusName object.

Use this only if you are completely aware of what are you doing!
pkSystemBusNamePolkitSystemBusName object

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

Member Function Documentation

QString PolkitQt1::SystemBusNameSubject::name ( ) const

Returns system bus name.

A unique system bus name.

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

void PolkitQt1::SystemBusNameSubject::setName ( const QString name)

Sets system bus name.

nameSystem bus name.

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

UnixUserIdentity PolkitQt1::SystemBusNameSubject::user ( )

Returns the UnixUserIdentity for this subject.

This can be an invalid UnixUserIdentity so be sure to check before using it

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