summaryrefslogtreecommitdiff
path: root/examples/sslechoclient/sslechoclient.h
diff options
context:
space:
mode:
authorSergio Ahumada <sahumada@blackberry.com>2014-03-13 14:50:03 +0100
committerSergio Ahumada <sahumada@blackberry.com>2014-03-13 14:50:05 +0100
commit974fd5f831cf9abfbd900c49ab6c21fb04ef62da (patch)
tree235666b5d896d5c86db5325215720425b5508ffa /examples/sslechoclient/sslechoclient.h
parente677361e300a7747a500c3879217727a53aae245 (diff)
parentd4ac9f51f6d18a05016e3d61c06eace27501f589 (diff)
downloadqtwebsockets-974fd5f831cf9abfbd900c49ab6c21fb04ef62da.tar.gz
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I0ee590f834200c488498315e66acf7cd046d43ad
Diffstat (limited to 'examples/sslechoclient/sslechoclient.h')
-rw-r--r--examples/sslechoclient/sslechoclient.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/sslechoclient/sslechoclient.h b/examples/sslechoclient/sslechoclient.h
index cec9e9d..7ec373b 100644
--- a/examples/sslechoclient/sslechoclient.h
+++ b/examples/sslechoclient/sslechoclient.h
@@ -43,6 +43,10 @@
#include <QtCore/QObject>
#include <QtWebSockets/QWebSocket>
+#include <QtNetwork/QSslError>
+#include <QtCore/QList>
+#include <QtCore/QString>
+#include <QtCore/QUrl>
QT_FORWARD_DECLARE_CLASS(QWebSocket)
@@ -52,13 +56,10 @@ class SslEchoClient : public QObject
public:
explicit SslEchoClient(const QUrl &url, QObject *parent = Q_NULLPTR);
-Q_SIGNALS:
-
-public Q_SLOTS:
-
private Q_SLOTS:
void onConnected();
void onTextMessageReceived(QString message);
+ void onSslErrors(const QList<QSslError> &errors);
private:
QWebSocket m_webSocket;