java.lang.Object
io.qt.qml.QtQml
public final class QtQml extends Object
Java wrapper for Qt class QtQml
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
QtQml.ObjectCallback
Java wrapper for Qt function pointer QtQml::ObjectCallbackstatic interface
QtQml.QQmlAttachedPropertiesFunc
Java wrapper for Qt function pointer QtQml::QQmlAttachedPropertiesFuncstatic interface
QtQml.ValueCallback
Java wrapper for Qt function pointer QtQml::ValueCallback -
Method Summary
Modifier and Type Method Description static QObject
qmlAttachedPropertiesObject(Class<? extends QObject> clazz, QObject obj)
static QObject
qmlAttachedPropertiesObject(Class<? extends QObject> clazz, QObject obj, boolean create)
static void
qmlClearTypeRegistrations()
static boolean
qmlProtectModule(String uri, int majVersion)
static int
qmlRegisterAnonymousType(Class<? extends QObject> type, String uri, int versionMajor)
static int
qmlRegisterExtendedType(Class<? extends QObject> type, Class<? extends QObject> extendedType)
Deprecated.Use qmlRegisterExtendedType(type, uri, versionMajor) insteadstatic int
qmlRegisterExtendedType(Class<? extends QObject> type, Class<? extends QObject> extendedType, String uri, int versionMajor)
static int
qmlRegisterExtendedType(Class<? extends QObject> type, Class<? extends QObject> extendedType, String uri, int versionMajor, int versionMinor, String qmlName)
static int
qmlRegisterExtendedUncreatableType(Class<? extends QObject> type, Class<? extends QObject> extendedType, int metaObjectRevision, String uri, int versionMajor, int versionMinor, String qmlName, String reason)
static int
qmlRegisterExtendedUncreatableType(Class<? extends QObject> type, Class<? extends QObject> extendedType, String uri, int versionMajor, int versionMinor, String qmlName, String reason)
static int
qmlRegisterInterface(Class<? extends QtObjectInterface> type, String typeName)
Deprecated.Use qmlRegisterInterface(Classstatic int
qmlRegisterInterface(Class<? extends QtObjectInterface> type, String uri, int versionMajor)
static void
qmlRegisterModule(String uri, int versionMajor, int versionMinor)
static int
qmlRegisterRevision(Class<? extends QObject> type, int metaObjectRevision, String uri, int versionMajor, int versionMinor)
static int
qmlRegisterSingletonInstance(QObject instance, String uri, int versionMajor, int versionMinor, String qmlName)
static int
qmlRegisterSingletonType(QUrl url, String uri, int versionMajor, int versionMinor, String qmlName)
static int
qmlRegisterSingletonType(Class<? extends QObject> type, String uri, int versionMajor, int versionMinor, String typeName, QtQml.ObjectCallback callback)
static int
qmlRegisterSingletonType(String uri, int versionMajor, int versionMinor, String typeName, QtQml.ValueCallback callback)
static int
qmlRegisterType(QUrl url, String uri, int versionMajor, int versionMinor, String qmlName)
static int
qmlRegisterType(Class<? extends QObject> type)
Deprecated.Use qmlRegisterAnonymousType insteadstatic int
qmlRegisterType(Class<? extends QObject> type, int metaObjectRevision, String uri, int versionMajor, int versionMinor, String qmlName)
static int
qmlRegisterType(Class<? extends QObject> type, String uri, int versionMajor, int versionMinor, String qmlName)
static int
qmlRegisterTypeNotAvailable(String uri, int versionMajor, int versionMinor, String qmlName, String message)
static int
qmlRegisterUncreatableClass(Class<?> type, String uri, int versionMajor, int versionMinor, String qmlName, String reason)
static int
qmlRegisterUncreatableType(Class<? extends QObject> type, int metaObjectRevision, String uri, int versionMajor, int versionMinor, String qmlName, String reason)
static int
qmlRegisterUncreatableType(Class<? extends QObject> type, String uri, int versionMajor, int versionMinor, String qmlName, String reason)
-
Method Details
-
qmlRegisterTypeNotAvailable
-
qmlRegisterUncreatableType
-
qmlRegisterUncreatableType
-
qmlRegisterType
-
qmlRegisterType
-
qmlRegisterRevision
-
qmlRegisterExtendedType
-
qmlAttachedPropertiesObject
-
qmlAttachedPropertiesObject
-
qmlRegisterAnonymousType
-
qmlRegisterType
-
qmlProtectModule
-
qmlClearTypeRegistrations
public static void qmlClearTypeRegistrations() -
qmlRegisterExtendedUncreatableType
-
qmlRegisterExtendedUncreatableType
-
qmlRegisterModule
-
qmlRegisterSingletonType
public static int qmlRegisterSingletonType(String uri, int versionMajor, int versionMinor, String typeName, QtQml.ValueCallback callback) -
qmlRegisterSingletonType
public static int qmlRegisterSingletonType(Class<? extends QObject> type, String uri, int versionMajor, int versionMinor, String typeName, QtQml.ObjectCallback callback) -
qmlRegisterSingletonType
-
qmlRegisterSingletonInstance
-
qmlRegisterUncreatableClass
-
qmlRegisterType
Deprecated.Use qmlRegisterAnonymousType instead -
qmlRegisterInterface
@Deprecated public static int qmlRegisterInterface(Class<? extends QtObjectInterface> type, String typeName)Deprecated.Use qmlRegisterInterface(Class extends io.qt.QtObjectInterface> type, String uri, int versionMajor) -
qmlRegisterInterface
public static int qmlRegisterInterface(Class<? extends QtObjectInterface> type, String uri, int versionMajor) -
qmlRegisterExtendedType
@Deprecated public static int qmlRegisterExtendedType(Class<? extends QObject> type, Class<? extends QObject> extendedType)Deprecated.Use qmlRegisterExtendedType(type, uri, versionMajor) instead -
qmlRegisterExtendedType
-