Module qtjambi

Class NativeUtility

java.lang.Object
io.qt.internal.NativeUtility

public abstract class NativeUtility extends Object
  • 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

      protected static void disposeObject(NativeUtility.Object object)
    • isObjectDisposed

      protected static boolean isObjectDisposed(NativeUtility.Object object)
    • disposeObject

      protected static void disposeObject(QtObjectInterface object)
    • isObjectDisposed

      protected static boolean isObjectDisposed(QtObjectInterface object)
    • areObjectsEquals

      protected static Boolean areObjectsEquals(NativeUtility.Object object, Object other)
    • loadQtJambiLibrary

      protected static void loadQtJambiLibrary(Class<?> callerClass, String library)
    • loadJambiLibrary

      protected static void loadJambiLibrary(Class<?> callerClass, String library)
    • isAvailableQtLibrary

      protected static boolean isAvailableQtLibrary(Class<?> callerClass, String library)
    • isAvailableLibrary

      protected static boolean isAvailableLibrary(String library, String version)
    • 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

      protected static void loadLibrary(String lib)
    • useAsGadget

      protected static void useAsGadget(Class<?> clazz)
    • usePackageContentAsGadgets

      protected static void usePackageContentAsGadgets(String _package)
    • jambiDeploymentDir

      protected static File jambiDeploymentDir()
    • callerClassProvider

      protected static Supplier<Class<?>> callerClassProvider()
    • majorVersion

      protected static int majorVersion()
    • minorVersion

      protected static int minorVersion()
    • qtjambiPatchVersion

      protected static int qtjambiPatchVersion()