summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-02-11 04:26:37 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-02-11 04:26:37 (GMT)
commitb8f21f8cd5b1dd900313675e0c8ffe976a5beded (patch)
treecaf26917bc01ae5bd9b6b7dced9d5c023f985e20 /src
parent0f90f7bdef4b8f821b00e039038fb83a01bc217b (diff)
downloadQt-b8f21f8cd5b1dd900313675e0c8ffe976a5beded.zip
Qt-b8f21f8cd5b1dd900313675e0c8ffe976a5beded.tar.gz
Qt-b8f21f8cd5b1dd900313675e0c8ffe976a5beded.tar.bz2
Fix documentation.
Diffstat (limited to 'src')
-rw-r--r--src/network/access/qnetworkaccessmanager.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/network/access/qnetworkaccessmanager.cpp b/src/network/access/qnetworkaccessmanager.cpp
index 9c1e268..7dc9203 100644
--- a/src/network/access/qnetworkaccessmanager.cpp
+++ b/src/network/access/qnetworkaccessmanager.cpp
@@ -163,7 +163,9 @@ static void ensureInitialized()
/*!
\property QNetworkAccessManager::networkAccess
- \brief wheather network access is enabled or disabled through this network access manager.
+ \brief states whether network access is enabled or disabled through this network access
+ manager.
+
\since 4.7
Network access is enabled by default.
@@ -742,6 +744,12 @@ QNetworkConfiguration QNetworkAccessManager::activeConfiguration() const
}
}
+/*!
+ \since 4.7
+
+ Enables network access via this QNetworkAccessManager if \a enabled is true; otherwise disables
+ access.
+*/
void QNetworkAccessManager::setNetworkAccessEnabled(bool enabled)
{
Q_D(QNetworkAccessManager);
@@ -752,6 +760,12 @@ void QNetworkAccessManager::setNetworkAccessEnabled(bool enabled)
}
}
+/*!
+ \since 4.7
+
+ Returns true if network access via this QNetworkAccessManager is enabled; otherwise returns
+ false.
+*/
bool QNetworkAccessManager::networkAccessEnabled() const
{
Q_D(const QNetworkAccessManager);