made libssh::ssh_connect a non-blocking feature
- extended error handling when connecting via ssh
This commit is contained in:
parent
c3f39ad24d
commit
cd3263db50
10 changed files with 54 additions and 34 deletions
|
|
@ -19,13 +19,14 @@ public:
|
|||
QObject *parent = nullptr);
|
||||
|
||||
bool isConnected();
|
||||
void setIsConnected(bool isConnected);
|
||||
void setIsConnected(bool isConnected); //todo take state from vpnconnection?
|
||||
|
||||
public slots:
|
||||
void openConnection();
|
||||
void closeConnection();
|
||||
|
||||
QString getLastConnectionError();
|
||||
Vpn::ConnectionState connectionState(){return {};}; //todo update ConnectButton text on page change
|
||||
|
||||
signals:
|
||||
void connectToVpn(int serverIndex, const ServerCredentials &credentials, DockerContainer container, const QJsonObject &containerConfig);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue