java.lang.Object
io.qt.qml.QtQml
Java wrapper for Qt class QtQml
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Java wrapper for Qt function pointer QtQml::ObjectCallbackstatic interface
Java wrapper for Qt function pointer QtQml::QQmlAttachedPropertiesFuncstatic interface
Java wrapper for Qt function pointer QtQml::ValueCallback -
Method Summary
Modifier and TypeMethodDescriptionstatic QJSEngine
Returns the QJSEngine associated with object, if any.static QObject
qmlAttachedPropertiesObject
(Class<? extends QObject> clazz, QObject obj) static QObject
qmlAttachedPropertiesObject
(Class<? extends QObject> clazz, QObject obj, boolean create) static void
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(Classinvalid input: '<'?static 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) static int
-
Method Details
-
qjsEngine
Returns the QJSEngine associated with object, if any. This function is useful if you have exposed a QObject to the JavaScript environment and later in your program would like to regain access. It does not require you to keep the wrapper around that was returned from QJSEngine::newQObject(). -
qmlRegisterTypeNotAvailable
-
qmlRegisterUncreatableType
-
qmlRegisterUncreatableType
-
qmlRegisterType
-
qmlRegisterType
-
qmlRegisterRevision
-
qmlRegisterExtendedType
-
qmlAttachedPropertiesObject
-
qmlAttachedPropertiesObject
-
qmlRegisterAnonymousType
-
qmlRegisterType
-
qmlTypeId
-
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(Classinvalid input: '<'? 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
-