Move SSH support into a dedicated library.

It does not belong into libUtils, which is a collection of small
unrelated utility classes.

Task-number: QTCREATORBUG-7218
Change-Id: Id92b9f28678afec93e6f07166adfde6550f38072
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Christian Kandeler
2012-05-18 10:49:35 +02:00
parent b9d9bb7ba8
commit 53a1087d13
153 changed files with 800 additions and 725 deletions

View File

@@ -37,9 +37,9 @@
#include <qprocess.h>
#include <utils/ssh/sshconnection.h>
#include <utils/ssh/sshremoteprocess.h>
#include <utils/ssh/sftpchannel.h>
#include <ssh/sshconnection.h>
#include <ssh/sshremoteprocess.h>
#include <ssh/sftpchannel.h>
namespace Valgrind {
@@ -89,7 +89,7 @@ private Q_SLOTS:
void foundRemoteFile();
void sftpInitialized();
void sftpJobFinished(Utils::SftpJobId job, const QString &error);
void sftpJobFinished(QSsh::SftpJobId job, const QString &error);
private:
void cleanupTempFile();
@@ -102,11 +102,11 @@ private:
Option m_lastOption;
// remote callgrind support
Utils::SshConnection::Ptr m_ssh;
QSsh::SshConnection::Ptr m_ssh;
QString m_tempDataFile;
Utils::SshRemoteProcess::Ptr m_findRemoteFile;
Utils::SftpChannel::Ptr m_sftp;
Utils::SftpJobId m_downloadJob;
QSsh::SshRemoteProcess::Ptr m_findRemoteFile;
QSsh::SftpChannel::Ptr m_sftp;
QSsh::SftpJobId m_downloadJob;
QByteArray m_remoteFile;
};