diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-11-10 20:33:54 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-11-10 20:33:54 +0300 |
commit | 6fdad285475957cfd85081113c9e190d024140fc (patch) | |
tree | c460a80c076f8e41824fdcde8a27fe5192c477e9 /src/Connection.h | |
parent | aed4569f991e350c15570c35a979f58b5f79d261 (diff) |
TLSv1 by default -- fallback to 1.1.x for SSLv3
Diffstat (limited to 'src/Connection.h')
-rw-r--r-- | src/Connection.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Connection.h b/src/Connection.h index 9727cd5f8..9afa4de8a 100644 --- a/src/Connection.h +++ b/src/Connection.h @@ -58,7 +58,7 @@ class Connection : public QObject { void proceedAnyway(); signals: void encrypted(); - void connectionClosed(const QString &reason); + void connectionClosed(QAbstractSocket::SocketError, const QString &reason); void message(unsigned int type, const QByteArray &); void handleSslErrors(const QList<QSslError> &); public: @@ -84,6 +84,8 @@ class Connection : public QObject { #endif }; +Q_DECLARE_METATYPE(QAbstractSocket::SocketError); + #else class Connection; #endif |