tdesu
SshProcess Class Reference
Executes a remote command, using ssh. More...
#include <ssh.h>
Inheritance diagram for SshProcess:
Public Types | |
| enum | Errors { SshNotFound = 1, SshNeedsPassword, SshIncorrectPassword } |
Public Member Functions | |
| SshProcess (const TQCString &host=0, const TQCString &user=0, const TQCString &command=0) | |
| void | setHost (const TQCString &host) |
| void | setStub (const TQCString &stub) |
| int | checkNeedPassword () |
| int | checkInstall (const char *password) |
| int | exec (const char *password, int check=0) |
| TQCString | prompt () |
| TQCString | error () |
Protected Member Functions | |
| virtual TQCString | display () |
| virtual TQCString | displayAuth () |
| virtual TQCString | dcopServer () |
| virtual void | virtual_hook (int id, void *data) |
Detailed Description
Executes a remote command, using ssh.
Definition at line 26 of file ssh.h.
Member Function Documentation
| int SshProcess::checkInstall | ( | const char * | password | ) |
| int SshProcess::checkNeedPassword | ( | ) |
| TQCString SshProcess::dcopServer | ( | ) | [protected, virtual] |
| TQCString SshProcess::display | ( | ) | [protected, virtual] |
This virtual function can be overloaded when special behavior is desired.
By default, it returns the value returned by KCookie.
Reimplemented from StubProcess.
| int SshProcess::exec | ( | const char * | password, | |
| int | check = 0 | |||
| ) |
| void SshProcess::setHost | ( | const TQCString & | host | ) | [inline] |
| void SshProcess::setStub | ( | const TQCString & | stub | ) |
The documentation for this class was generated from the following files:
Trinity API Reference