summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorShane Kearns <ext-shane.2.kearns@nokia.com>2012-05-02 15:13:01 +0100
committerQt by Nokia <qt-info@nokia.com>2012-05-03 09:02:38 +0200
commit5fb7b7322e349a6e9705a1f3ddb9e36a3e8b7e7a (patch)
tree116660f1d2c59d4f793ccfa04f72a67c315579dd /src/network
parent1eac22a1b9dad7f843916afa9b7c820aa1c23777 (diff)
Fix documentation of QLocalServer
Added \since 5.0 and corrected the enum documentation to match the code. Task-number: QTBUG-24001 Change-Id: I8e284b6eaaf68c46bbd0e07f4378f0c442f2edd4 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/socket/qlocalserver.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/network/socket/qlocalserver.cpp b/src/network/socket/qlocalserver.cpp
index e9848213d8..b379e99f6f 100644
--- a/src/network/socket/qlocalserver.cpp
+++ b/src/network/socket/qlocalserver.cpp
@@ -84,19 +84,20 @@ QT_BEGIN_NAMESPACE
/*!
\enum QLocalServer::SocketOption
+ \since 5.0
This enum describes the possible options that can be used to create the
socket. This changes the access permissions on platforms (Linux, Windows)
that support access permissions on the socket. Both GroupAccess and OtherAccess
may vary slightly in meanings depending on the platform.
- \value UserAccess
+ \value UserAccessOption
Access is restricted to the same user as the process that created the socket.
- \value GroupAccess
+ \value GroupAccessOption
Access is restricted to the same group but not the user that created the socket on Linux.
- \value OtherAccess
+ \value OtherAccessOption
Access is available to everyone but the user and group that created the socket on Linux.
- \value WorldAccess
+ \value WorldAccessOption
No access restrictions.
\sa SocketOptions
@@ -162,6 +163,7 @@ void QLocalServer::setSocketOptions(SocketOptions options)
}
/*!
+ \since 5.0
Returns the socket options set on the socket.
\sa setSocketOptions()