Change-Id: I97c8b89da8c8d46afb0bdc840627e142567d5d98
Reviewed-on: http://codereview.qt-project.org/5981
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
return d->m_connParams;
}
+QAbstractSocket::NetworkLayerProtocol SshConnection::ipProtocolVersion() const
+{
+ return d->m_socket->localAddress().protocol();
+}
+
SshConnection::~SshConnection()
{
disconnect();
#include <QtCore/QObject>
#include <QtCore/QSharedPointer>
#include <QtCore/QString>
+#include <QtNetwork/QAbstractSocket>
namespace Utils {
class SftpChannel;
SshError errorState() const;
QString errorString() const;
SshConnectionParameters connectionParameters() const;
+ QAbstractSocket::NetworkLayerProtocol ipProtocolVersion() const;
~SshConnection();
QSharedPointer<SshRemoteProcess> createRemoteProcess(const QByteArray &command);