summaryrefslogtreecommitdiffstats
path: root/src/corelib/json/qjsonparser.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-07-19 13:53:50 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-20 02:18:18 +0200
commit122fa138f3c01b7c4f745aaafa526d1bcdc38bbb (patch)
tree289da1338b98cc9ecfab846e43e0f13baf911955 /src/corelib/json/qjsonparser.cpp
parent917ef5787444403ce0f7f035e27b1740c7672e34 (diff)
Fixed most qdoc errors for the json classes.
Change-Id: Ibbbdd7212f6c5e25422bbaa9ccaf4822db52222a Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com> Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/corelib/json/qjsonparser.cpp')
-rw-r--r--src/corelib/json/qjsonparser.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/corelib/json/qjsonparser.cpp b/src/corelib/json/qjsonparser.cpp
index 4bec3fdd82..4633915e30 100644
--- a/src/corelib/json/qjsonparser.cpp
+++ b/src/corelib/json/qjsonparser.cpp
@@ -107,7 +107,27 @@ QT_BEGIN_NAMESPACE
*/
/*!
+ \variable QJsonParseError::error
+
+ Contains the type of the parse error. Is equal to QJsonParseError::NoError if the document
+ was parsed correctly.
+
+ \sa ParseError, errorString()
+*/
+
+
+/*!
+ \variable QJsonParseError::offset
+
+ Contains the offset in the input string where the parse error occurred.
+
+ \sa error, errorString()
+*/
+
+/*!
Returns the human-readable message appropriate to the reported JSON parsing error.
+
+ \sa error
*/
QString QJsonParseError::errorString() const
{