diff options
author | Topi Reinio <topi.reinio@qt.io> | 2021-08-20 18:25:50 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-08-24 22:06:15 +0000 |
commit | f0101e09d2a2d4987c5f89dcd339a02e7d3c8822 (patch) | |
tree | c91a2217143c41090ebe0cb5ef66d62c85579158 /src/corelib/text | |
parent | 1bd497675909df47e7b8bb7a7b544ad37bdc6eb1 (diff) |
Doc: Fix documentation issues for Qt Core
* Tag deprecated Q(Multi)Map operators in the header to correctly
match them with documentation \fn commands.
* Add documentation for QByteArrayView comparison operators.
* Add a dummy typedef 'jfieldID' for generating docs correctly
on non-Android platforms
* Fix other minor issues
Task-number: QTBUG-95860
Change-Id: I141d2f75d6aa10557aa374201f09ad74b4cd6e81
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 145940e1ef8fc8334ff4603a44f7896886e646cb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/corelib/text')
-rw-r--r-- | src/corelib/text/qbytearrayview.qdoc | 11 | ||||
-rw-r--r-- | src/corelib/text/qchar.cpp | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/corelib/text/qbytearrayview.qdoc b/src/corelib/text/qbytearrayview.qdoc index a1d41d3f47..877462c32e 100644 --- a/src/corelib/text/qbytearrayview.qdoc +++ b/src/corelib/text/qbytearrayview.qdoc @@ -353,6 +353,17 @@ \sa data(), begin(), end() */ +/*! //! friend + \fn int QByteArrayView::operator==(QByteArrayView lhs, QByteArrayView rhs) + \fn int QByteArrayView::operator!=(QByteArrayView lhs, QByteArrayView rhs) + \fn int QByteArrayView::operator< (QByteArrayView lhs, QByteArrayView rhs) + \fn int QByteArrayView::operator<=(QByteArrayView lhs, QByteArrayView rhs) + \fn int QByteArrayView::operator> (QByteArrayView lhs, QByteArrayView rhs) + \fn int QByteArrayView::operator>=(QByteArrayView lhs, QByteArrayView rhs) + + Comparison operators for QByteArrayView. +*/ + /*! \fn int QByteArrayView::compare(QByteArrayView bv, Qt::CaseSensitivity cs = Qt::CaseSensitive) const \since 6.2 diff --git a/src/corelib/text/qchar.cpp b/src/corelib/text/qchar.cpp index 8304db8b8a..bca446987a 100644 --- a/src/corelib/text/qchar.cpp +++ b/src/corelib/text/qchar.cpp @@ -499,7 +499,7 @@ QT_BEGIN_NAMESPACE \enum QChar::Decomposition This enum type defines the Unicode decomposition attributes. See - the \l{Unicode Standard} for a description of the values. + the \l{Unicode standard} for a description of the values. \value NoDecomposition \value Canonical @@ -528,7 +528,7 @@ QT_BEGIN_NAMESPACE since 5.3 This enum type defines the Unicode joining type attributes. See the - \l{Unicode Standard} for a description of the values. + \l{Unicode standard} for a description of the values. In order to conform to C/C++ naming conventions "Joining_" is prepended to the codes used in the Unicode Standard. |