Doc: Fix QJniObject::construct() documentation

Even though QDoc accepted the \fn signature without a class scope,
the documentation does not end up on the class reference unless we
mark construct() as a member of QJniObject.

Change-Id: Icae44f8eb24aa6b269242084479e735f2637c312
Reviewed-by: Luca Di Sera <luca.disera@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 4a14a9c0141eba78d10628a92fc08a8765c5798d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Topi Reinio 2022-06-22 11:11:42 +02:00 committed by Qt Cherry-pick Bot
parent 909637b49f
commit 2a056cd39f

View File

@ -762,7 +762,7 @@ QJniObject::QJniObject(jobject object)
}
/*!
\fn template<typename Class, typename ...Args> static inline QJniObject construct(Args &&...args)
\fn template<typename Class, typename ...Args> static inline QJniObject QJniObject::construct(Args &&...args)
\since 6.4
Constructs an instance of the Java class that is the equivalent of \c Class and