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.nosp@m.ik@r.nosp@m.edhat.nosp@m..com
See also

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

Constructor & Destructor Documentation

◆ SystemBusNameSubject() [1/2]

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

Subject constructor, takes one parameter - system bus name.

nameA unique system bus name.

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

◆ SystemBusNameSubject() [2/2]

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

Member Function Documentation

◆ name()

QString PolkitQt1::SystemBusNameSubject::name ( ) const

Returns system bus name.

A unique system bus name.

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

◆ setName()

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

Sets system bus name.

nameSystem bus name.

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

◆ user()

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 167 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-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:56:39 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.