summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2013-08-13 14:36:32 +0200
committerKurt Pattyn <pattyn.kurt@gmail.com>2013-08-13 14:36:32 +0200
commitbc7f200750ba4ff16e19092027c4d4454731dd8d (patch)
treebf29fc1ac3ee9970600ca50bd71f83a99d270cd1
parentf7d104569cf645d034db040014fd359e7c909f02 (diff)
downloadqtwebsockets-bc7f200750ba4ff16e19092027c4d4454731dd8d.tar.gz
Made setSocketState private
-rw-r--r--source/websocket.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/websocket.h b/source/websocket.h
index bdc75d5..8a8dfba 100644
--- a/source/websocket.h
+++ b/source/websocket.h
@@ -63,9 +63,6 @@ public:
qint64 send(const QString &message); //send data as text
qint64 send(const QByteArray &data); //send data as binary
-protected:
- void setSocketState(QAbstractSocket::SocketState state);
-
public Q_SLOTS:
virtual void close(WebSocketProtocol::CloseCode closeCode = WebSocketProtocol::CC_NORMAL, QString reason = QString());
virtual void open(const QUrl &url, bool mask = true);
@@ -102,6 +99,7 @@ private:
void setProtocol(QString protocol);
void setExtension(QString extension);
void enableMasking(bool enable);
+ void setSocketState(QAbstractSocket::SocketState state);
qint64 doWriteData(const QByteArray &data, bool isBinary);
qint64 doWriteFrames(const QByteArray &data, bool isBinary);