KDESu::StubProcess Class Reference
Chat with kdesu_stub.
More...
#include <kdesu/stub.h>
List of all members.
Detailed Description
Chat with kdesu_stub.
StubProcess extends PtyProcess with functionality to chat with kdesu_stub.
Definition at line 32 of file stub.h.
Member Enumeration Documentation
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.
Constructor & Destructor Documentation
KDESu::StubProcess::StubProcess |
( |
|
) |
|
KDESu::StubProcess::~StubProcess |
( |
|
) |
|
Member Function Documentation
int KDESu::StubProcess::ConverseStub |
( |
int |
check |
) |
[protected] |
Exchange all parameters with kdesu_stub.
Definition at line 105 of file stub.cpp.
QByteArray KDESu::StubProcess::display |
( |
|
) |
[protected, virtual] |
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 189 of file stub.cpp.
QByteArray KDESu::StubProcess::displayAuth |
( |
|
) |
[protected, virtual] |
void KDESu::StubProcess::setCommand |
( |
const QByteArray & |
command |
) |
|
Set the command.
Definition at line 46 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 64 of file stub.cpp.
void KDESu::StubProcess::setScheduler |
( |
int |
sched |
) |
|
Set the scheduler type.
Definition at line 75 of file stub.cpp.
void KDESu::StubProcess::setUser |
( |
const QByteArray & |
user |
) |
|
Set the target user.
Definition at line 52 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 58 of file stub.cpp.
void KDESu::StubProcess::virtual_hook |
( |
int |
id, |
|
|
void * |
data | |
|
) |
| | [protected, virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: