java.lang.Object
io.qt.internal.NativeUtility
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static Boolean
areObjectsEquals
(NativeUtility.Object object, Object other) protected static void
disposeObject
(NativeUtility.Object object) protected static void
disposeObject
(QtObjectInterface object) protected static QMetaObject.DisposedSignal
getSignalOnDispose
(QtObjectInterface object, boolean forceCreation) Emitted either as the native resources that belong to the object are being cleaned up or directly before the object is finalized.protected static void
initializeNativeObject
(Class<?> declaringClass, QtObjectInterface object, Map<Class<?>, List<?>> arguments) protected static boolean
isAvailableLibrary
(String library, String version) protected static boolean
isAvailableQtLibrary
(Class<?> callerClass, String library) protected static boolean
isObjectDisposed
(NativeUtility.Object object) protected static boolean
isObjectDisposed
(QtObjectInterface object) protected static File
protected static void
loadJambiLibrary
(Class<?> callerClass, String library) protected static void
loadLibrary
(String lib) protected static void
loadQtJambiLibrary
(Class<?> callerClass, String library) protected static void
loadQtLibrary
(Class<?> callerClass, String library, QtUtilities.LibraryRequirementMode libraryRequirementMode, String... platforms) protected static void
loadUtilityLibrary
(String library, String version, QtUtilities.LibraryRequirementMode libraryRequirementMode, String... platforms) protected static int
protected static int
protected static int
protected static void
useAsGadget
(Class<?> clazz) protected static void
usePackageContentAsGadgets
(String _package)
-
Constructor Details
-
NativeUtility
public NativeUtility()
-
-
Method Details
-
getSignalOnDispose
protected static QMetaObject.DisposedSignal getSignalOnDispose(QtObjectInterface object, boolean forceCreation) Emitted either as the native resources that belong to the object are being cleaned up or directly before the object is finalized. Connect to this signal to do clean up when the object is destroyed. The signal will never be emitted more than once per object, and the object is guaranteed to be unusable after this signal has returned. -
initializeNativeObject
protected static void initializeNativeObject(Class<?> declaringClass, QtObjectInterface object, Map<Class<?>, List<?>> arguments) throws IllegalArgumentException- Throws:
IllegalArgumentException
-
disposeObject
-
isObjectDisposed
-
disposeObject
-
isObjectDisposed
-
areObjectsEquals
-
loadQtJambiLibrary
-
loadJambiLibrary
-
isAvailableQtLibrary
-
isAvailableLibrary
-
loadQtLibrary
protected static void loadQtLibrary(Class<?> callerClass, String library, QtUtilities.LibraryRequirementMode libraryRequirementMode, String... platforms) -
loadUtilityLibrary
protected static void loadUtilityLibrary(String library, String version, QtUtilities.LibraryRequirementMode libraryRequirementMode, String... platforms) -
loadLibrary
-
useAsGadget
-
usePackageContentAsGadgets
-
jambiDeploymentDir
-
callerClassProvider
-
majorVersion
protected static int majorVersion() -
minorVersion
protected static int minorVersion() -
qtjambiPatchVersion
protected static int qtjambiPatchVersion()
-