summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@nokia.com>2012-08-15 18:40:37 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-23 02:55:17 +0200
commit41ca2b445365ac05877e962f5c3d477bca64e633 (patch)
tree0bcaf5118d4520f4f0baa5b8c67e430c29029fb9 /tests
parent70d8e363dfb0049f9b192abbe7946de1fb679467 (diff)
A few more random documentation fixes
@p replaced by \a, \QD replaced by {Qt Designer}, couple of enums etc. Change-Id: I315510690bf52e42db519292b4122fa24c73bbc9 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp21
1 files changed, 10 insertions, 11 deletions
diff --git a/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp b/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp
index 4442094541..441e1b0eac 100644
--- a/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp
+++ b/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp
@@ -79,10 +79,10 @@ static inline int best(int a, int b, int c)
}
/**
- * Opens @p filename and returns content produced as per
+ * Opens \a filename and returns content produced as per
* xmlconf/xmltest/canonxml.html.
*
- * @p docType is the DOCTYPE name that the returned output should
+ * \a docType is the DOCTYPE name that the returned output should
* have, if it doesn't already have one.
*/
static QByteArray makeCanonical(const QString &filename,
@@ -197,10 +197,10 @@ static QByteArray makeCanonical(const QString &filename,
}
/**
- * @short Returns the lexical QName of the document element in
- * @p document.
+ * \brief Returns the lexical QName of the document element in
+ * \a document.
*
- * It is assumed that @p document is a well-formed XML document.
+ * It is assumed that \a document is a well-formed XML document.
*/
static QString documentElement(const QByteArray &document)
{
@@ -219,7 +219,7 @@ static QString documentElement(const QByteArray &document)
}
/**
- * @short Loads W3C's XML conformance test suite and runs it on QXmlStreamReader.
+ * \brief Loads W3C's XML conformance test suite and runs it on QXmlStreamReader.
*
* Since this suite is fairly large, it runs the tests sequentially in order to not
* have them all loaded into memory at once. In this way, the maximum memory usage stays
@@ -228,8 +228,7 @@ static QString documentElement(const QByteArray &document)
*
* Part of this code is a manual, ad-hoc implementation of xml:base.
*
- * @see <a href="http://www.w3.org/XML/Test/">Extensible
- * Markup Language (XML) Conformance Test Suites</a>
+ * See \l {http://www.w3.org/XML/Test/} {Extensible Markup Language (XML) Conformance Test Suites}
*/
class TestSuiteHandler : public QXmlDefaultHandler
{
@@ -277,7 +276,7 @@ public:
int skipCount;
/**
- * @p baseURI is the the URI of where the catalog file resides.
+ * \a baseURI is the the URI of where the catalog file resides.
*/
TestSuiteHandler(const QUrl &baseURI) : runCount(0),
skipCount(0)
@@ -690,8 +689,8 @@ QByteArray tst_QXmlStream::readFile(const QString &filename)
reader.setDevice(&file);
QByteArray outarray;
QTextStream writer(&outarray);
- // We always want UTF-8, and not what the system picks up.
- writer.setCodec("UTF-8");
+ // We always want UTF-8, and not what the system picks up.
+ writer.setCodec("UTF-8");
while (!reader.atEnd()) {
reader.readNext();