KDEsu
Public Types |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
KDESu::StubProcess Class Reference
#include <kdesu/stub.h>
Inheritance diagram for KDESu::StubProcess:

Public Types | |
| enum | Scheduler { SchedNormal, SchedRealtime } |
Public Types inherited from KDESu::PtyProcess | |
| enum | checkPidStatus { Error =-1, NotExited =-2, Killed =-3 } |
Public Member Functions | |
| StubProcess () | |
| ~StubProcess () | |
| void | setCommand (const QByteArray &command) |
| void | setPriority (int prio) |
| void | setScheduler (int sched) |
| void | setUser (const QByteArray &user) |
| void | setXOnly (bool xonly) |
Public Member Functions inherited from KDESu::PtyProcess | |
| PtyProcess () | |
| virtual | ~PtyProcess () |
| int | enableLocalEcho (bool enable=true) |
| int | exec (const QByteArray &command, const QList< QByteArray > &args) |
| int | fd () const |
| int | pid () const |
| QByteArray | readAll (bool block=true) |
| QByteArray | readLine (bool block=true) |
| void | setEnvironment (const QList< QByteArray > &env) |
| void | setErase (bool erase) |
| void | setExitString (const QByteArray &exit) |
| void | setTerminal (bool terminal) |
| void | unreadLine (const QByteArray &line, bool addNewline=true) |
| int | waitForChild () |
| int | WaitSlave () |
| void | writeLine (const QByteArray &line, bool addNewline=true) |
Protected Member Functions | |
| int | ConverseStub (int check) |
| virtual QByteArray | display () |
| virtual QByteArray | displayAuth () |
| virtual void | virtual_hook (int id, void *data) |
Protected Member Functions inherited from KDESu::PtyProcess | |
| QList< QByteArray > | environment () const |
Protected Attributes | |
| bool | m_bXOnly |
| QByteArray | m_Command |
| KDESuPrivate::KCookie * | m_pCookie |
| int | m_Priority |
| int | m_Scheduler |
| QByteArray | m_User |
Protected Attributes inherited from KDESu::PtyProcess | |
| bool | m_bErase |
| bool | m_bTerminal |
| QByteArray | m_Command |
| QByteArray | m_Exit |
| int | m_Pid |
Additional Inherited Members | |
Static Public Member Functions inherited from KDESu::PtyProcess | |
| static bool | checkPid (pid_t pid) |
| static int | checkPidExited (pid_t pid) |
Public Attributes inherited from KDESu::PtyProcess | |
| public | __pad0__: static int waitMS(int fd |
| public int | ms |
Detailed Description
Chat with kdesu_stub.
StubProcess extends PtyProcess with functionality to chat with kdesu_stub.
Member Enumeration Documentation
Constructor & Destructor Documentation
Member Function Documentation
|
protected |
|
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.
|
protectedvirtual |
| 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 | ) |
|
protectedvirtual |
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
|
protected |
|
protected |
|
protected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Types inherited from