summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocketdataprocessor_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/websockets/qwebsocketdataprocessor_p.h')
-rw-r--r--src/websockets/qwebsocketdataprocessor_p.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/websockets/qwebsocketdataprocessor_p.h b/src/websockets/qwebsocketdataprocessor_p.h
index 256bcf4..983d391 100644
--- a/src/websockets/qwebsocketdataprocessor_p.h
+++ b/src/websockets/qwebsocketdataprocessor_p.h
@@ -78,14 +78,14 @@ public:
static quint64 maxFrameSize();
Q_SIGNALS:
- void pingReceived(QByteArray data);
- void pongReceived(QByteArray data);
- void closeReceived(QWebSocketProtocol::CloseCode closeCode, QString closeReason);
- void textFrameReceived(QString frame, bool lastFrame);
- void binaryFrameReceived(QByteArray frame, bool lastFrame);
- void textMessageReceived(QString message);
- void binaryMessageReceived(QByteArray message);
- void errorEncountered(QWebSocketProtocol::CloseCode code, QString description);
+ void pingReceived(const QByteArray &data);
+ void pongReceived(const QByteArray &data);
+ void closeReceived(QWebSocketProtocol::CloseCode closeCode, const QString &closeReason);
+ void textFrameReceived(const QString &frame, bool lastFrame);
+ void binaryFrameReceived(const QByteArray &frame, bool lastFrame);
+ void textMessageReceived(const QString &message);
+ void binaryMessageReceived(const QByteArray &message);
+ void errorEncountered(QWebSocketProtocol::CloseCode code, const QString &description);
public Q_SLOTS:
void process(QIODevice *pIoDevice);