diff --git a/src/corelib/kernel/qjnienvironment.cpp b/src/corelib/kernel/qjnienvironment.cpp index ee575043275..ddadc2e114f 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 52d5ca84e8b..b009699a6d3 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 T QBindable::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() */