From 7afff8c16ea6c16ba277292a170e385f778f6a61 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Fri, 31 May 2024 16:29:16 +0200 Subject: [PATCH] JNI: remove tech-preview tag from documented APIs Change-Id: I6493f53c747df16d9b54710627927e60f43edec1 Reviewed-by: Assam Boudjelthia --- src/corelib/kernel/qjnienvironment.h | 1 - src/corelib/kernel/qjnitypes.h | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/corelib/kernel/qjnienvironment.h b/src/corelib/kernel/qjnienvironment.h index 09f7ec7948e..dda8dc0950c 100644 --- a/src/corelib/kernel/qjnienvironment.h +++ b/src/corelib/kernel/qjnienvironment.h @@ -69,7 +69,6 @@ class Q_CORE_EXPORT QJniEnvironment , std::enable_if_t(), bool> = true #endif > - QT_TECH_PREVIEW_API bool registerNativeMethods(std::initializer_list methods) { return registerNativeMethods(QtJniTypes::Traits::className().data(), methods); diff --git a/src/corelib/kernel/qjnitypes.h b/src/corelib/kernel/qjnitypes.h index 576ce511563..033445be6a7 100644 --- a/src/corelib/kernel/qjnitypes.h +++ b/src/corelib/kernel/qjnitypes.h @@ -36,7 +36,6 @@ struct QtJniTypes::Traits { \ } \ }; \ -// QT_TECH_PREVIEW_API #define Q_DECLARE_JNI_CLASS(Type, Signature) \ Q_DECLARE_JNI_TYPE_HELPER(Type) \ template<> \ @@ -178,7 +177,6 @@ va_##Method(JNIEnv *env, jclass thiz, ...) }, argTuple); \ } \ -// QT_TECH_PREVIEW_API #define Q_DECLARE_JNI_NATIVE_METHOD(...) \ QT_OVERLOADED_MACRO(QT_DECLARE_JNI_NATIVE_METHOD, __VA_ARGS__) \ @@ -196,10 +194,8 @@ static const JNINativeMethod Method##_method = { \ #define QT_DECLARE_JNI_NATIVE_METHOD_1(Method) \ QT_DECLARE_JNI_NATIVE_METHOD_2(Method, Method) \ -// QT_TECH_PREVIEW_API #define Q_JNI_NATIVE_METHOD(Method) QtJniMethods::Method##_method -// QT_TECH_PREVIEW_API #define Q_DECLARE_JNI_NATIVE_METHOD_IN_CURRENT_SCOPE(...) \ QT_OVERLOADED_MACRO(QT_DECLARE_JNI_NATIVE_METHOD_IN_CURRENT_SCOPE, __VA_ARGS__) \ @@ -213,7 +209,6 @@ static const JNINativeMethod Method##_method = { \ #define QT_DECLARE_JNI_NATIVE_METHOD_IN_CURRENT_SCOPE_1(Method) \ QT_DECLARE_JNI_NATIVE_METHOD_IN_CURRENT_SCOPE_2(Method, Method) \ -// QT_TECH_PREVIEW_API #define Q_JNI_NATIVE_SCOPED_METHOD(Method, Scope) Scope::Method##_method QT_END_NAMESPACE