staticInitMutex.lock();
if (!staticInitializationsDone) {
Botan::LibraryInitializer::initialize("thread_safe=true");
- qRegisterMetaType<SshError>("SshError");
+ qRegisterMetaType<Core::SshError>("Core::SshError");
qRegisterMetaType<Core::SftpJobId>("Core::SftpJobId");
staticInitializationsDone = true;
}
SIGNAL(dataAvailable(QString)), Qt::QueuedConnection);
connect(d, SIGNAL(disconnected()), this, SIGNAL(disconnected()),
Qt::QueuedConnection);
- connect(d, SIGNAL(error(SshError)), this, SIGNAL(error(SshError)),
- Qt::QueuedConnection);
+ connect(d, SIGNAL(error(Core::SshError)), this,
+ SIGNAL(error(Core::SshError)), Qt::QueuedConnection);
}
void SshConnection::connectToHost(const SshConnectionParameters &serverInfo)
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(handleError()));
connect(m_connection.data(), SIGNAL(disconnected()), this,
SLOT(handleDisconnected()));