Fix some qdoc errors in the QJson* classes
authorLars Knoll <lars.knoll@nokia.com>
Thu, 16 Aug 2012 16:58:00 +0000 (18:58 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 20 Aug 2012 08:22:38 +0000 (10:22 +0200)
Change-Id: If475655445afdba307508c5a3863c4bc8d87ebe6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/json/qjsonarray.cpp
src/corelib/json/qjsonobject.cpp

index 6c4cfe1..365240d 100644 (file)
@@ -672,6 +672,10 @@ bool QJsonArray::operator!=(const QJsonArray &other) const
     \sa QJsonArray::begin(), QJsonArray::end()
 */
 
+/*! \fn QJsonArray::iterator::iterator(QJsonArray *array, int index)
+    \internal
+*/
+
 /*! \fn QJsonValueRef QJsonArray::iterator::operator*() const
 
     Returns a modifiable reference to the current item.
@@ -869,6 +873,10 @@ bool QJsonArray::operator!=(const QJsonArray &other) const
     \sa QJsonArray::constBegin(), QJsonArray::constEnd()
 */
 
+/*! \fn QJsonArray::const_iterator::const_iterator(const QJsonArray *array, int index)
+    \internal
+*/
+
 /*! \typedef QJsonArray::const_iterator::iterator_category
 
   A synonym for \e {std::random_access_iterator_tag} indicating
index c60b221..4e629dc 100644 (file)
@@ -630,6 +630,10 @@ QJsonObject::const_iterator QJsonObject::constFind(const QString &key) const
     \sa QJsonObject::begin(), QJsonObject::end()
 */
 
+/*! \fn QJsonObject::iterator::iterator(QJsonObject *obj, int index)
+    \internal
+*/
+
 /*! \fn QString QJsonObject::iterator::key() const
 
     Returns the current item's key.
@@ -820,6 +824,10 @@ QJsonObject::const_iterator QJsonObject::constFind(const QString &key) const
     \sa QJsonObject::constBegin(), QJsonObject::constEnd()
 */
 
+/*! \fn QJsonObject::const_iterator::const_iterator(const QJsonObject *obj, int index)
+    \internal
+*/
+
 /*! \fn QJsonObject::const_iterator::const_iterator(const iterator &other)
 
     Constructs a copy of \a other.