m_connection = SshConnection::create();
connect(m_connection.data(), SIGNAL(connected()), this,
SLOT(handleConnected()));
- connect(m_connection.data(), SIGNAL(error(SshError)), this,
+ connect(m_connection.data(), SIGNAL(error(Core::SshError)), this,
SLOT(handleConnectionError()));
m_connection->connectToHost(m_config.server);
}
connect(m_connection.data(), SIGNAL(connected()), this,
SLOT(executeRemoteCall()));
- connect(m_connection.data(), SIGNAL(error(SshError)), this,
+ connect(m_connection.data(), SIGNAL(error(Core::SshError)), this,
SLOT(handleConnectionFailure()));
if (reuse)
m_connection = SshConnection::create();
connect(m_connection.data(), SIGNAL(connected()), this,
SLOT(handleConnected()));
- connect(m_connection.data(), SIGNAL(error(SshError)), this,
+ connect(m_connection.data(), SIGNAL(error(Core::SshError)), this,
SLOT(handleConnectionFailure()));
m_connection->connectToHost(currentConfig().server);
}
qApp->quit();
}
- void handleError(SshError error)
+ void handleError(Core::SshError error)
{
if (m_testSet.isEmpty()) {
qDebug("Error: Received error %d, but no test was running.", error);
SLOT(handleDisconnected()));
connect(m_connection.data(), SIGNAL(dataAvailable(QString)), this,
SLOT(handleDataAvailable(QString)));
- connect(m_connection.data(), SIGNAL(error(SshError)), this,
- SLOT(handleError(SshError)));
+ connect(m_connection.data(), SIGNAL(error(Core::SshError)), this,
+ SLOT(handleError(Core::SshError)));
const TestItem &nextItem = m_testSet.first();
m_timeoutTimer.stop();
m_timeoutTimer.setInterval(qMax(10000, nextItem.params.timeout * 1000));