Doc: QCbor classes: Fix \variable commands

\variable must not include the variable type, QDoc will resolve that.
This commit resolves four documentation warnings.

Task-number: QTBUG-71502
Change-Id: I5e88cf66d3c3bb8f18495d5477e1271ac2cd9e74
Reviewed-by: Martin Smith <martin.smith@qt.io>
This commit is contained in:
Topi Reinio 2018-10-30 14:13:31 +01:00 committed by Jani Heikkinen
parent a92735ec00
commit 46a595b047
2 changed files with 6 additions and 4 deletions

View File

@ -1422,12 +1422,14 @@ bool QCborStreamWriter::endMap()
*/
/*!
\variable Container QCborStreamReader::StringResult::data
\variable QCborStreamReader::StringResult::data
Contains the actual data from the string if \l status is \c Ok.
*/
/*!
\variable QCborStreamReader::StringResultCode QCborStreamReader::StringResult::status
\variable QCborStreamReader::StringResult::status
Contains the status of the attempt of reading the string from the stream.
*/

View File

@ -221,7 +221,7 @@ QT_BEGIN_NAMESPACE
*/
/*!
\variable qint64 QCborParserError::offset
\variable QCborParserError::offset
This field contains the offset from the beginning of the data where the
error was detected. The offset should point to the beginning of the item
@ -232,7 +232,7 @@ QT_BEGIN_NAMESPACE
*/
/*!
\variable QCborError QCborParserError::error
\variable QCborParserError::error
This field contains the error code that indicates what decoding problem was
found.