forked from qt-creator/qt-creator
SSH: Allow querying of IP protocol version.
Change-Id: I97c8b89da8c8d46afb0bdc840627e142567d5d98 Reviewed-on: http://codereview.qt-project.org/5981 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -165,6 +165,11 @@ SshConnectionParameters SshConnection::connectionParameters() const
|
||||
return d->m_connParams;
|
||||
}
|
||||
|
||||
QAbstractSocket::NetworkLayerProtocol SshConnection::ipProtocolVersion() const
|
||||
{
|
||||
return d->m_socket->localAddress().protocol();
|
||||
}
|
||||
|
||||
SshConnection::~SshConnection()
|
||||
{
|
||||
disconnect();
|
||||
|
||||
Reference in New Issue
Block a user