KDEsu
KDESu::StubProcess Class Reference
#include <kdesu/stub.h>
Inheritance diagram for KDESu::StubProcess:

Detailed Description
Chat with kdesu_stub.StubProcess extends PtyProcess with functionality to chat with kdesu_stub.
Definition at line 32 of file stub.h.
Public Types | |
enum | Scheduler { SchedNormal, SchedRealtime } |
Public Member Functions | |
void | setCommand (const QByteArray &command) |
void | setPriority (int prio) |
void | setScheduler (int sched) |
void | setUser (const QByteArray &user) |
void | setXOnly (bool xonly) |
StubProcess () | |
~StubProcess () | |
Protected Member Functions | |
int | ConverseStub (int check) |
virtual QByteArray | display () |
virtual QByteArray | displayAuth () |
virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
bool | m_bXOnly |
QByteArray | m_Command |
KDESuPrivate::KCookie * | m_pCookie |
int | m_Priority |
int | m_Scheduler |
QByteArray | m_User |
Member Enumeration Documentation
Constructor & Destructor Documentation
Member Function Documentation
int KDESu::StubProcess::ConverseStub | ( | int | check | ) | [protected] |
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.
QByteArray KDESu::StubProcess::displayAuth | ( | ) | [protected, virtual] |
void KDESu::StubProcess::setCommand | ( | const QByteArray & | command | ) |
void KDESu::StubProcess::setPriority | ( | int | prio | ) |
void KDESu::StubProcess::setScheduler | ( | int | sched | ) |
void KDESu::StubProcess::setUser | ( | const QByteArray & | user | ) |
void KDESu::StubProcess::setXOnly | ( | bool | xonly | ) |
void KDESu::StubProcess::virtual_hook | ( | int | id, | |
void * | data | |||
) | [protected, virtual] |
Standard hack to add virtual methods in a BC way.
Unused.
Reimplemented from KDESu::PtyProcess.
Reimplemented in KDESu::SshProcess, and KDESu::SuProcess.
Member Data Documentation
bool KDESu::StubProcess::m_bXOnly [protected] |
QByteArray KDESu::StubProcess::m_Command [protected] |
KDESuPrivate::KCookie* KDESu::StubProcess::m_pCookie [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: