Skip to content

Commit 0cd69c2

Browse files
authored
Merge pull request #243 from ejvr/emqtt
Emqtt
2 parents e46e8c1 + d6f8368 commit 0cd69c2

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

qmqtt.pri

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ SOURCES += \
5252
# Add support for websockets
5353
#
5454
QMQTT_WEBSOCKETS {
55-
PRIVATE_HEADERS += \
55+
HEADERS += \
5656
$$PWD/src/mqtt/qmqtt_websocket_p.h \
5757
$$PWD/src/mqtt/qmqtt_websocketiodevice_p.h
5858

src/mqtt/qmqtt_websocketiodevice_p.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,9 @@
3737

3838
#include <QByteArray>
3939
#include <QIODevice>
40-
#include <QList>
41-
#include <QAbstractSocket>
4240

4341
QT_FORWARD_DECLARE_CLASS(QWebSocket)
4442
QT_FORWARD_DECLARE_CLASS(QNetworkRequest)
45-
QT_FORWARD_DECLARE_CLASS(QSslError)
4643

4744
namespace QMQTT
4845
{
@@ -57,15 +54,6 @@ class WebSocketIODevice : public QIODevice
5754

5855
virtual qint64 bytesAvailable() const;
5956

60-
Q_SIGNALS:
61-
void connected();
62-
63-
void disconnected();
64-
65-
void error(QAbstractSocket::SocketError error);
66-
67-
void sslErrors(const QList<QSslError> &errors);
68-
6957
protected:
7058
virtual qint64 readData(char *data, qint64 maxSize);
7159

0 commit comments

Comments
 (0)