From cdfda969926f8cc55b48574795d491552e42d286 Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Fri, 17 Jan 2014 19:08:39 +0100 Subject: Fix docs after adding const refs Change-Id: I9fc1d996584c1136efca4412fe76c570cc4201ec Reviewed-by: Kurt Pattyn --- src/websockets/qwebsocket.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/websockets/qwebsocket.cpp') diff --git a/src/websockets/qwebsocket.cpp b/src/websockets/qwebsocket.cpp index 795b32d..cccaa8c 100644 --- a/src/websockets/qwebsocket.cpp +++ b/src/websockets/qwebsocket.cpp @@ -153,7 +153,7 @@ not been filled in with new information when the signal returns. */ /*! - \fn void QWebSocket::textFrameReceived(QString frame, bool isLastFrame); + \fn void QWebSocket::textFrameReceived(const QString &frame, bool isLastFrame); This signal is emitted whenever a text frame is received. The \a frame contains the data and \a isLastFrame indicates whether this is the last frame of the complete message. @@ -164,7 +164,7 @@ not been filled in with new information when the signal returns. \sa binaryFrameReceived() */ /*! - \fn void QWebSocket::binaryFrameReceived(QByteArray frame, bool isLastFrame); + \fn void QWebSocket::binaryFrameReceived(const QByteArray &frame, bool isLastFrame); This signal is emitted whenever a binary frame is received. The \a frame contains the data and \a isLastFrame indicates whether this is the last frame of the complete message. @@ -175,7 +175,7 @@ not been filled in with new information when the signal returns. \sa textFrameReceived() */ /*! - \fn void QWebSocket::textMessageReceived(QString message); + \fn void QWebSocket::textMessageReceived(const QString &message); This signal is emitted whenever a text message is received. The \a message contains the received text. @@ -183,7 +183,7 @@ not been filled in with new information when the signal returns. \sa binaryMessageReceived() */ /*! - \fn void QWebSocket::binaryMessageReceived(QByteArray message); + \fn void QWebSocket::binaryMessageReceived(const QByteArray &message); This signal is emitted whenever a binary message is received. The \a message contains the received bytes. @@ -220,7 +220,7 @@ not been filled in with new information when the signal returns. QWebSocket::ignoreSslErrors() will have no effect. */ /*! - \fn void QWebSocket::pong(quint64 elapsedTime, QByteArray payload) + \fn void QWebSocket::pong(quint64 elapsedTime, const QByteArray &payload) Emitted when a pong message is received in reply to a previous ping. \a elapsedTime contains the roundtrip time in milliseconds and \a payload contains an optional -- cgit v1.2.1