summaryrefslogtreecommitdiffstats
path: root/src/network/access
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-02-04 14:00:37 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-02-04 14:00:37 (GMT)
commite39feabbcdb10b47c7eaad14fe653e62280e6237 (patch)
tree7e2918fc7bf7eacbd26c8e377bfb8e59543c04fb /src/network/access
parent5f23d1635db832014b9d9acbf61e78ba52a9cc2f (diff)
downloadQt-e39feabbcdb10b47c7eaad14fe653e62280e6237.zip
Qt-e39feabbcdb10b47c7eaad14fe653e62280e6237.tar.gz
Qt-e39feabbcdb10b47c7eaad14fe653e62280e6237.tar.bz2
doc: Fixed some qdoc warnings.
Diffstat (limited to 'src/network/access')
-rw-r--r--src/network/access/qnetworkreply.cpp9
-rw-r--r--src/network/access/qnetworkrequest.cpp17
2 files changed, 23 insertions, 3 deletions
diff --git a/src/network/access/qnetworkreply.cpp b/src/network/access/qnetworkreply.cpp
index be4339c..15748fe 100644
--- a/src/network/access/qnetworkreply.cpp
+++ b/src/network/access/qnetworkreply.cpp
@@ -533,6 +533,15 @@ QByteArray QNetworkReply::rawHeader(const QByteArray &headerName) const
return QByteArray();
}
+/*! \typedef QNetworkReply::RawHeaderPair
+
+ RawHeaderPair is a QPair<QByteArray, QByteArray> where the first
+ QByteArray is the header name and the second is the header.
+ */
+
+/*!
+ Returns a list of raw header pairs.
+ */
const QList<QNetworkReply::RawHeaderPair>& QNetworkReply::rawHeaderPairs() const
{
Q_D(const QNetworkReply);
diff --git a/src/network/access/qnetworkrequest.cpp b/src/network/access/qnetworkrequest.cpp
index 52b88a3..b8438a2 100644
--- a/src/network/access/qnetworkrequest.cpp
+++ b/src/network/access/qnetworkrequest.cpp
@@ -532,13 +532,24 @@ QNetworkRequest::Priority QNetworkRequest::priority() const
return d->priority;
}
+/*! \enum QNetworkRequest::Priority
+
+ \since 4.7
+
+ This enum lists the possible network request priorities.
+
+ \value HighPriority High priority
+ \value NormalPriority Normal priority
+ \value LowPriority Low priority
+ */
+
/*!
\since 4.7
- Set the priority of this request.
+ Set the priority of this request to \a priority.
- \note The priority is only a hint to the network access manager.
- It can use it or not. Currently it is used for HTTP to
+ \note The \a priority is only a hint to the network access
+ manager. It can use it or not. Currently it is used for HTTP to
decide which request should be sent first to a server.
\sa priority()