diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-02-17 10:05:19 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-02-18 15:44:51 +0000 |
commit | 89eda9ab1f5758ad5dde17f50b090fdfffb653a3 (patch) | |
tree | 5e8668d0873630d44203d86ccaab6d0b1c3ca029 | |
parent | b9a721eaaa345a9311d9e1993f6fdfda2b1eb5f8 (diff) |
Fix some qdoc-warnings for 6.1
Fix:
qtbase/src/testlib/qtestelementattribute.cpp:89: (qdoc) warning: Undocumented enum item 'LET_Message' in QTest::LogElementType
qtbase/src/testlib/qtestelementattribute.cpp:89: (qdoc) warning: No such enum item 'LET_Error' in QTest::LogElementType
qtbase/src/testlib/qtestelementattribute.cpp:89: (qdoc) warning: Undocumented enum item 'LET_SystemOutput' in QTest::LogElementType
qtbase/src/network/ssl/qsslsocket.cpp:1666: (qdoc) warning: Unknown command '\cl'
qtbase/src/corelib/kernel/qproperty.cpp:883: (qdoc) warning: Unknown command '\T'
qtbase/src/corelib/kernel/qproperty.cpp:799: (qdoc) warning: Undocumented return value (hint: use 'return' or 'returns' in the text
qtbase/src/corelib/kernel/qjnienvironment.cpp:250: (qdoc) warning: Undocumented return value (hint: use 'return' or 'returns' in the text
Change-Id: I116f5d8ace2c29ba7b6b93256d5761591e01296a
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Nico Vertriest <nico.vertriest@qt.io>
(cherry picked from commit 868242b6e1840fcea491ad86d8b2a7a101c4eeaa)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/corelib/kernel/qjnienvironment.cpp | 4 | ||||
-rw-r--r-- | src/corelib/kernel/qproperty.cpp | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/corelib/kernel/qjnienvironment.cpp b/src/corelib/kernel/qjnienvironment.cpp index ee57504327..ddadc2e114 100644 --- a/src/corelib/kernel/qjnienvironment.cpp +++ b/src/corelib/kernel/qjnienvironment.cpp @@ -257,6 +257,8 @@ bool QJniEnvironment::registerNativeMethods(const char *className, JNINativeMeth make JNI calls directly via \c JNIEnv, you need to clear any potential exceptions after the call using this function. For more information about \c JNIEnv calls that can throw an exception, see \l {Oracle: JNI Functions}{JNI Functions}. + + \return \c true when a pending exception was cleared. */ bool QJniEnvironment::exceptionCheckAndClear(QJniEnvironment::OutputMode outputMode) { @@ -282,6 +284,8 @@ bool QJniEnvironment::exceptionCheckAndClear(QJniEnvironment::OutputMode outputM make JNI calls directly via \c JNIEnv, you need to clear any potential exceptions after the call using this function. For more information about \c JNIEnv calls that can throw an exception, see \l {Oracle: JNI Functions}{JNI Functions}. + + \return \c true when a pending exception was cleared. */ bool QJniEnvironment::exceptionCheckAndClear(JNIEnv *env, QJniEnvironment::OutputMode outputMode) { diff --git a/src/corelib/kernel/qproperty.cpp b/src/corelib/kernel/qproperty.cpp index 52d5ca84e8..b009699a6d 100644 --- a/src/corelib/kernel/qproperty.cpp +++ b/src/corelib/kernel/qproperty.cpp @@ -803,6 +803,8 @@ QString QPropertyBindingError::description() const if the QUntypedBindable is read-only, null or if \a binding's type does match the underlying property's type. + \return \c true when the binding was successfully set. + \sa QUntypedPropertyBinding::valueMetaType() */ @@ -880,7 +882,7 @@ QString QPropertyBindingError::description() const \fn template <typename T> T QBindable<T>::value() const Returns the underlying property's current value. If the QBindable is invalid, - a default constructed \T is returned. + a default constructed \c T is returned. \sa isValid() */ |