KDEsu
#include <kdesu/stub.h>
Chat with kdesu_stub.
StubProcess extends PtyProcess with functionality to chat with kdesu_stub.
Definition at line 32 of file stub.h.
Different schedulers.
SchedNormal is the normal Unix timesharing scheduler, while SchedRealtime is a POSIX.1b realtime scheduler.
Enumerator |
---|
SchedNormal |
|
SchedRealtime |
|
Definition at line 64 of file stub.h.
KDESu::StubProcess::StubProcess |
( |
| ) |
|
KDESu::StubProcess::~StubProcess |
( |
| ) |
|
int KDESu::StubProcess::ConverseStub |
( |
int |
check | ) |
|
|
protected |
Exchange all parameters with kdesu_stub.
Definition at line 125 of file stub.cpp.
QByteArray KDESu::StubProcess::display |
( |
| ) |
|
|
protectedvirtual |
This virtual function can be overloaded when special behavior is desired.
By default, it returns the value returned by KCookie.
Reimplemented in KDESu::SshProcess.
Definition at line 219 of file stub.cpp.
QByteArray KDESu::StubProcess::displayAuth |
( |
| ) |
|
|
protectedvirtual |
void KDESu::StubProcess::setCommand |
( |
const QByteArray & |
command | ) |
|
Set the command.
Definition at line 47 of file stub.cpp.
void KDESu::StubProcess::setPriority |
( |
int |
prio | ) |
|
Set the priority of the process.
The priority value must be between 0 and 100, 0 being the lowest priority. This value is mapped to the scheduler and system dependent priority range of the OS.
Definition at line 65 of file stub.cpp.
void KDESu::StubProcess::setScheduler |
( |
int |
sched | ) |
|
Set the scheduler type.
Definition at line 76 of file stub.cpp.
void KDESu::StubProcess::setUser |
( |
const QByteArray & |
user | ) |
|
Set the target user.
Definition at line 53 of file stub.cpp.
void KDESu::StubProcess::setXOnly |
( |
bool |
xonly | ) |
|
Set to "X only mode": Sycoca is not built and kdeinit is not launched.
Definition at line 59 of file stub.cpp.
void KDESu::StubProcess::virtual_hook |
( |
int |
id, |
|
|
void * |
data |
|
) |
| |
|
protectedvirtual |
bool KDESu::StubProcess::m_bXOnly |
|
protected |
QByteArray KDESu::StubProcess::m_Command |
|
protected |
int KDESu::StubProcess::m_Priority |
|
protected |
int KDESu::StubProcess::m_Scheduler |
|
protected |
QByteArray KDESu::StubProcess::m_User |
|
protected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:48 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.