aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/ssh/sshconnection.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2012-05-29 13:22:33 +0200
committerChristian Kandeler <christian.kandeler@nokia.com>2012-05-29 19:07:08 +0200
commit94ab29519b68e4b98701b50ea29ccea2c0522027 (patch)
tree8b90a7cefc903af38d1dec4d066ff56bff26e9af /src/libs/ssh/sshconnection.h
parent6886dcb787aa0cd94dc1057b3e5be678f8516e04 (diff)
SSH: Use plain pointers to SshConnection objects.
It used to be shared pointers so that existing connection objects could easily be passed around in order not to open a new connection to the same server. Since the introduction of the SshConnectionManager, this is no longer necessary. Change-Id: I13fd3eceaf35d562e6260e9969abbffb01edd6b5 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/libs/ssh/sshconnection.h')
-rw-r--r--src/libs/ssh/sshconnection.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libs/ssh/sshconnection.h b/src/libs/ssh/sshconnection.h
index b631c3e707..c6a2fbc8d9 100644
--- a/src/libs/ssh/sshconnection.h
+++ b/src/libs/ssh/sshconnection.h
@@ -90,9 +90,8 @@ class QSSH_EXPORT SshConnection : public QObject
public:
enum State { Unconnected, Connecting, Connected };
- typedef QSharedPointer<SshConnection> Ptr;
- static Ptr create(const SshConnectionParameters &serverInfo);
+ SshConnection(const SshConnectionParameters &serverInfo);
void connectToHost();
void disconnectFromHost();
@@ -114,8 +113,6 @@ signals:
void error(QSsh::SshError);
private:
- SshConnection(const SshConnectionParameters &serverInfo);
-
Internal::SshConnectionPrivate *d;
};