#include <SSHConnect.h>

Signals | |
| void | connected () |
| void | connectionFailed (QString) |
Public Member Functions | |
| SSHConnect (QString, QString, QString, Myssh *) | |
| void | run () |
Private Attributes | |
| QString | _login |
| QString | _password |
| QString | _host |
| Myssh * | _ssh |
Definition at line 18 of file SSHConnect.h.
| SSHConnect::SSHConnect | ( | QString | l, | |
| QString | p, | |||
| QString | h, | |||
| Myssh * | s | |||
| ) |
Construct an SSHConnect thread to connect on a host using the ssh protocol
| l | login | |
| p | password | |
| h | hostname | |
| s | ssh connection to run the command on |
Definition at line 17 of file SSHConnect.cpp.
| void SSHConnect::run | ( | ) |
Run the thread Will emit connected() on connection or connectionFailed(QString) if the connection fails.
Definition at line 29 of file SSHConnect.cpp.
References _host, _login, _password, _ssh, Myssh::connect_ssh(), connected(), connectionFailed(), Myssh::getErrMsg(), and Myssh::isConnected().

| void SSHConnect::connected | ( | ) | [signal] |
Signal emitted when the connection is established
Referenced by run().
| void SSHConnect::connectionFailed | ( | QString | ) | [signal] |
Signal emitted if the connection attempt fails
Referenced by run().
QString SSHConnect::_login [private] |
QString SSHConnect::_password [private] |
QString SSHConnect::_host [private] |
Myssh* SSHConnect::_ssh [private] |
1.5.4