A class for representing unix session.
More...
#include <Subject>
A class for representing unix session.
- Author
- Jaroslav Reznik jrezn.nosp@m.ik@r.nosp@m.edhat.nosp@m..com
The session id is an opaque string obtained from ConsoleKit.
- See also
- Subject
◆ UnixSessionSubject() [1/3]
PolkitQt1::UnixSessionSubject::UnixSessionSubject |
( |
const QString & |
sessionId | ) |
|
|
explicit |
Subject constructor, takes one parameter - session id.
- Parameters
-
◆ UnixSessionSubject() [2/3]
PolkitQt1::UnixSessionSubject::UnixSessionSubject |
( |
qint64 |
pid | ) |
|
|
explicit |
Subject constructor, takes one parameter - pid of process.
Synchronous!
- Parameters
-
pid | The session's process pid. |
◆ UnixSessionSubject() [3/3]
PolkitQt1::UnixSessionSubject::UnixSessionSubject |
( |
PolkitSystemBusName * |
pkUnixSession | ) |
|
|
explicit |
Subject constructor, it creates UnixSession object from PolkitUnixSession object
- Warning
- Use this only if you are completely aware of what are you doing!
- Parameters
-
pkUnixSession | PolkitUnixSession object |
◆ sessionId()
QString PolkitQt1::UnixSessionSubject::sessionId |
( |
| ) |
const |
Returns session id.
- Returns
- A session id.
◆ setSessionId()
void PolkitQt1::UnixSessionSubject::setSessionId |
( |
const QString & |
sessionId | ) |
|
Sets session id.
- Parameters
-
The documentation for this class was generated from the following files: