From 9286fdf4a06f25fc6fa743346c6beef7438170cb Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Thu, 21 Aug 2014 12:05:49 +0200 Subject: [PATCH] Doc: corrected autolink errors Qjsonvalue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-40362 Change-Id: I2ae782ea606e8ee55ee0fcfbbb29db3216b0574b Reviewed-by: Martin Smith Reviewed-by: Topi Reiniƶ --- src/corelib/json/qjsonvalue.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/corelib/json/qjsonvalue.cpp b/src/corelib/json/qjsonvalue.cpp index 4c4838d314..4838a78217 100644 --- a/src/corelib/json/qjsonvalue.cpp +++ b/src/corelib/json/qjsonvalue.cpp @@ -420,17 +420,17 @@ QJsonValue QJsonValue::fromVariant(const QVariant &variant) } /*! - Converts the value to a QVariant. + Converts the value to a \l {QVariant::}{QVariant()}. The QJsonValue types will be converted as follows: - \value Null QVariant() + \value Null {QVariant::}{QVariant()} \value Bool QMetaType::Bool \value Double QMetaType::Double \value String QString \value Array QVariantList \value Object QVariantMap - \value Undefined QVariant() + \value Undefined {QVariant::}{QVariant()} \sa fromVariant() */ @@ -553,7 +553,7 @@ QJsonArray QJsonValue::toArray(const QJsonArray &defaultValue) const Converts the value to an array and returns it. - If type() is not Array, a QJsonArray() will be returned. + If type() is not Array, a \l{QJsonArray::}{QJsonArray()} will be returned. */ QJsonArray QJsonValue::toArray() const { @@ -578,8 +578,8 @@ QJsonObject QJsonValue::toObject(const QJsonObject &defaultValue) const Converts the value to an object and returns it. - If type() is not Object, the QJsonObject() will be returned. - */ + If type() is not Object, the \l {QJsonObject::}{QJsonObject()} will be returned. +*/ QJsonObject QJsonValue::toObject() const { return toObject(QJsonObject());