diff options
Diffstat (limited to 'examples/sslechoclient/sslechoclient.h')
-rw-r--r-- | examples/sslechoclient/sslechoclient.h | 9 |
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; |