summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocket.cpp
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2014-01-18 16:21:39 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-20 19:17:49 +0100
commit770ef51efa416bf939b237c2e01d7657a7dc6696 (patch)
treea8ff2668143b7fa45760aaf160f9aa6532e5fe17 /src/websockets/qwebsocket.cpp
parent76cd00f8fdb249d866723ced0514041099f95a4b (diff)
downloadqtwebsockets-770ef51efa416bf939b237c2e01d7657a7dc6696.tar.gz
Remove dubious functions
Change-Id: Ida5c46e3e42685f5e78f2aee657d12af62286810 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/websockets/qwebsocket.cpp')
-rw-r--r--src/websockets/qwebsocket.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/websockets/qwebsocket.cpp b/src/websockets/qwebsocket.cpp
index cccaa8c..ada9799 100644
--- a/src/websockets/qwebsocket.cpp
+++ b/src/websockets/qwebsocket.cpp
@@ -328,39 +328,6 @@ bool QWebSocket::flush()
}
/*!
- Sends the given \a message over the socket as a text message and returns the number of bytes
- actually sent.
- \a message must be '\\0' terminated and is considered to be in UTF-8 encoded format.
-
- \note When \a message is null or has zero length, zero is returned.
- \note The maximum size of message, is limited by \l {QString::}{size_type}.
-
- \sa QString::fromUtf8(), QString::size_type
- */
-qint64 QWebSocket::write(const char *message)
-{
- Q_D(QWebSocket);
- return d->write(message);
-}
-
-/*!
- Sends the most \a maxSize bytes of the given \a message over the socket as a text message
- and returns the number of bytes actually sent.
- \a message is considered to be in UTF-8 encoded format.
-
- \note When \a message is null, has zero length or \a maxSize < 0, zero is returned.
- \note The maximum size of message, is limited by \l {QString::}{size_type}.
- If the message is larger, it is truncated to the maximum value of \l {QString::}{size_type}.
-
- \sa QString::fromUtf8(), QString::size_type
- */
-qint64 QWebSocket::write(const char *message, qint64 maxSize)
-{
- Q_D(QWebSocket);
- return d->write(message, maxSize);
-}
-
-/*!
\brief Sends the given \a message over the socket as a text message and
returns the number of bytes actually sent.
*/