summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-01-17 19:08:39 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-17 20:28:25 +0100
commitcdfda969926f8cc55b48574795d491552e42d286 (patch)
treef976dd9d1de7294353e073d71d1cd7be8c1bd103 /src
parente30dc8d781b70a7ed8909d2fb125fbd2b9c0eb1a (diff)
downloadqtwebsockets-cdfda969926f8cc55b48574795d491552e42d286.tar.gz
Fix docs after adding const refs
Change-Id: I9fc1d996584c1136efca4412fe76c570cc4201ec Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/websockets/qwebsocket.cpp10
1 files changed, 5 insertions, 5 deletions
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