summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qabstractsocket.h
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-10-06 12:53:15 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-10-06 12:57:19 (GMT)
commitf83ae188edb09a94b25b962c8a8b793180d22b67 (patch)
tree45f3464cd11738718d80e7cf7518a5619bd3b6f3 /src/network/socket/qabstractsocket.h
parent27456087b6c032b48b3aca6ea228a3d068a6d7c9 (diff)
downloadQt-f83ae188edb09a94b25b962c8a8b793180d22b67.zip
Qt-f83ae188edb09a94b25b962c8a8b793180d22b67.tar.gz
Qt-f83ae188edb09a94b25b962c8a8b793180d22b67.tar.bz2
QAbstractSocket::setSocketOption: Make const reference
After 4.6 API review. Reviewed-by: Volker Hilsheimer
Diffstat (limited to 'src/network/socket/qabstractsocket.h')
-rw-r--r--src/network/socket/qabstractsocket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/socket/qabstractsocket.h b/src/network/socket/qabstractsocket.h
index 4a7763f..5d94a01 100644
--- a/src/network/socket/qabstractsocket.h
+++ b/src/network/socket/qabstractsocket.h
@@ -154,8 +154,8 @@ public:
OpenMode openMode = ReadWrite);
// ### Qt 5: Make virtual?
- void setSocketOption(QAbstractSocket::SocketOption o, QVariant v);
- QVariant socketOption(QAbstractSocket::SocketOption o);
+ void setSocketOption(QAbstractSocket::SocketOption option, const QVariant &value);
+ QVariant socketOption(QAbstractSocket::SocketOption option);
SocketType socketType() const;
SocketState state() const;