summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocket.cpp
diff options
context:
space:
mode:
authorKurt Pattyn <pattyn.kurt@gmail.com>2014-01-26 17:30:32 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-01 16:19:28 +0100
commit11b5eca580900a677fdf9a5d6cd990b0700ad5ad (patch)
tree4e1da5bb697db9aff67152005b85f1cad2162057 /src/websockets/qwebsocket.cpp
parent595551b06d971fe6a01c08b0779b531d054c47f9 (diff)
downloadqtwebsockets-11b5eca580900a677fdf9a5d6cd990b0700ad5ad.tar.gz
Remove socketOption functionality
Removed the setSocketOption() and socketOption(0 methods as they are not really relevant for web sockets. Also, internally for the underlying real socket the LowDelayOption and KeepAliveOption are already set. If ever needed, these methods can be added later. Change-Id: Ibfa279990c5277970eaa2dbc2dd3a7d0cce7154e Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'src/websockets/qwebsocket.cpp')
-rw-r--r--src/websockets/qwebsocket.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/websockets/qwebsocket.cpp b/src/websockets/qwebsocket.cpp
index 17bd364..39998cc 100644
--- a/src/websockets/qwebsocket.cpp
+++ b/src/websockets/qwebsocket.cpp
@@ -678,26 +678,6 @@ void QWebSocket::setReadBufferSize(qint64 size)
}
/*!
- Sets the given \a option to the value described by \a value.
- \sa socketOption()
-*/
-void QWebSocket::setSocketOption(QAbstractSocket::SocketOption option, const QVariant &value)
-{
- Q_D(QWebSocket);
- d->setSocketOption(option, value);
-}
-
-/*!
- Returns the value of the option \a option.
- \sa setSocketOption()
-*/
-QVariant QWebSocket::socketOption(QAbstractSocket::SocketOption option)
-{
- Q_D(QWebSocket);
- return d->socketOption(option);
-}
-
-/*!
Returns true if the QWebSocket is valid.
*/
bool QWebSocket::isValid() const