From 122fa138f3c01b7c4f745aaafa526d1bcdc38bbb Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 19 Jul 2012 13:53:50 +0200 Subject: Fixed most qdoc errors for the json classes. Change-Id: Ibbbdd7212f6c5e25422bbaa9ccaf4822db52222a Reviewed-by: Casper van Donderen Reviewed-by: Richard J. Moore --- src/corelib/json/qjsonparser.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/corelib/json/qjsonparser.cpp') 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 @@ -106,8 +106,28 @@ QT_BEGIN_NAMESPACE \value DeepNesting The JSON document is too deeply nested for the parser to parse it */ +/*! + \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 { -- cgit v1.2.3