Java wrapper for Qt header file QtQml
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Java wrapper for Qt callableQtQml::ObjectCallback
static interface
Java wrapper for Qt callableQtQml::QQmlAttachedPropertiesFunc
static interface
Java wrapper for Qt callableQtQml::ValueCallback
-
Method Summary
Modifier and TypeMethodDescriptionstatic QJSEngine
qmlAttachedPropertiesFunction
(QObject arg__1, QMetaObject arg__2) SeeqmlAttachedPropertiesFunction(QObject*,
const QMetaObject*) static QObject
Overloaded function forqmlAttachedPropertiesObject(io.qt.core.QObject, io.qt.qml.QtQml.QQmlAttachedPropertiesFunc, boolean)
withcreate = true
.static QObject
qmlAttachedPropertiesObject
(QObject arg__1, QtQml.QQmlAttachedPropertiesFunc func, boolean create) static QObject
qmlAttachedPropertiesObject
(Class<? extends QObject> type, QObject obj) Overloaded function forqmlAttachedPropertiesObject(java.lang.Class, io.qt.core.QObject, boolean)
withcreate = true
.static QObject
qmlAttachedPropertiesObject
(Class<? extends QObject> type, QObject obj, boolean create) static void
static QQmlContext
qmlContext
(QObject arg__1) static QQmlInfo
static QQmlInfo
static QQmlInfo
qmlDebug
(QObject me, Collection<? extends QQmlError> errors) static QQmlEngine
static void
qmlExecuteDeferred
(QObject arg__1) SeeqmlExecuteDeferred(QObject*)
static QObject
qmlExtendedObject
(QObject arg__1) SeeqmlExtendedObject(QObject*)
static QQmlInfo
static QQmlInfo
static QQmlInfo
qmlInfo
(QObject me, Collection<? extends QQmlError> errors) static boolean
qmlProtectModule
(String uri, int majVersion) static int
qmlRegisterAnonymousSequentialContainer
(QMetaType containerType, String uri, int versionMajor) SeeqmlRegisterAnonymousSequentialContainer<Container>(const char*,
int) static int
qmlRegisterAnonymousType
(Class<?> type, int metaObjectRevisionMinor, String uri, int versionMajor) static int
qmlRegisterAnonymousType
(Class<?> type, String uri, int versionMajor) static void
qmlRegisterAnonymousTypesAndRevisions
(Class<?> type, String uri, int versionMajor) SeeqmlRegisterAnonymousTypesAndRevisions<T>(const char*,
int) static int
qmlRegisterExtendedType
(Class<?> type, Class<?> extendedType, String uri, int versionMajor) static int
qmlRegisterExtendedType
(Class<?> type, Class<?> extendedType, String uri, int versionMajor, int versionMinor, String qmlName) static int
qmlRegisterExtendedUncreatableType
(Class<?> type, Class<?> extendedType, int metaObjectRevision, String uri, int versionMajor, int versionMinor, String qmlName, String reason) static int
qmlRegisterExtendedUncreatableType
(Class<?> type, Class<?> extendedType, String uri, int versionMajor, int versionMinor, String qmlName, String reason) static int
qmlRegisterInterface
(Class<? extends QtObjectInterface> type, String uri, int versionMajor) SeeqmlRegisterInterface<T>(const char*,
int) static void
qmlRegisterModule
(String uri, int versionMajor, int versionMinor) static void
qmlRegisterModuleImport
(String uri, int moduleMajor, String arg__import) Overloaded function forqmlRegisterModuleImport(java.lang.String, int, java.lang.String, int, int)
static void
qmlRegisterModuleImport
(String uri, int moduleMajor, String arg__import, int importMajor) Overloaded function forqmlRegisterModuleImport(java.lang.String, int, java.lang.String, int, int)
withimportMinor = QQmlModuleImportLatest
.static void
qmlRegisterModuleImport
(String uri, int moduleMajor, String arg__import, int importMajor, int importMinor) static void
qmlRegisterNamespaceAndRevisions
(QMetaObject metaObject, String uri, int versionMajor) static void
qmlRegisterNamespaceAndRevisions
(QMetaObject metaObject, String uri, int versionMajor, Collection<@QtPrimitiveType Integer> qmlTypeIds) Overloaded function forqmlRegisterNamespaceAndRevisions(io.qt.core.QMetaObject, java.lang.String, int, java.util.Collection, io.qt.core.QMetaObject)
withclassInfoMetaObject = null
.static void
qmlRegisterNamespaceAndRevisions
(QMetaObject metaObject, String uri, int versionMajor, Collection<@QtPrimitiveType Integer> qmlTypeIds, QMetaObject classInfoMetaObject) SeeqmlRegisterNamespaceAndRevisions(const QMetaObject*,
const char*, int, QList<int>*, const QMetaObject*) static void
qmlRegisterNamespaceAndRevisions
(QMetaObject metaObject, String uri, int versionMajor, Collection<@QtPrimitiveType Integer> qmlTypeIds, QMetaObject classInfoMetaObject, QMetaObject extensionMetaObject) SeeqmlRegisterNamespaceAndRevisions(const QMetaObject*,
const char*, int, QList<int>*, const QMetaObject*, const QMetaObject*) static int
qmlRegisterSingletonInstance
(QObject instance, String uri, int versionMajor, int versionMinor, String qmlName) Deprecated.static <T extends QObject>
intqmlRegisterSingletonInstance
(String uri, int versionMajor, int versionMinor, String typeName, T singleton) static int
qmlRegisterSingletonType
(QUrl url, String uri, int versionMajor, int versionMinor, String qmlName) static int
qmlRegisterSingletonType
(String url, String uri, int versionMajor, int versionMinor, String qmlName) Overloaded function forqmlRegisterSingletonType(io.qt.core.QUrl, java.lang.String, int, int, java.lang.String)
.static int
qmlRegisterSingletonType
(String uri, int versionMajor, int versionMinor, String typeName, QtQml.ValueCallback callback) SeeqmlRegisterSingletonType(const char*,
int, int, const char*, QJSValue(*)(QQmlEngine*, QJSEngine*)) static int
qmlRegisterSingletonType
(Class<? extends QObject> type, String uri, int versionMajor, int versionMinor, String typeName, QtQml.ObjectCallback callback) SeeqmlRegisterSingletonType<T>(const char*,
int, int, const char*, QObject*(*)(QQmlEngine*, QJSEngine*)) static int
qmlRegisterType
(QUrl url, String uri, int versionMajor, int versionMinor, String qmlName) static int
qmlRegisterType
(String url, String uri, int versionMajor, int versionMinor, String qmlName) Overloaded function forqmlRegisterType(io.qt.core.QUrl, java.lang.String, int, int, java.lang.String)
.static int
qmlRegisterType
(Class<?> type, int metaObjectRevision, String uri, int versionMajor, int versionMinor, String qmlName) static int
qmlRegisterType
(Class<?> type, String uri, int versionMajor, int versionMinor, String qmlName) static int
qmlRegisterTypeNotAvailable
(String uri, int versionMajor, int versionMinor, String qmlName, String message) static void
qmlRegisterTypesAndRevisions
(String uri, int versionMajor, Class<?>... types) Overloaded function forqmlRegisterTypesAndRevisions(java.lang.String, int, java.util.Collection, java.lang.Class[])
withqmlTypeIds = null
.static void
qmlRegisterTypesAndRevisions
(String uri, int versionMajor, Collection<@QtPrimitiveType Integer> qmlTypeIds, Class<?>... types) SeeqmlRegisterTypesAndRevisions<Args>(const char*,
int, QList<int>*) static int
qmlRegisterUncreatableClass
(Class<? extends QObject> type, int metaObjectRevision, String uri, int versionMajor, int versionMinor, String qmlName, String reason) Deprecated.static int
qmlRegisterUncreatableClass
(Class<? extends QObject> type, String uri, int versionMajor, int versionMinor, String qmlName, String reason) Deprecated.static int
qmlRegisterUncreatableMetaObject
(QMetaObject staticMetaObject, String uri, int versionMajor, int versionMinor, String qmlName, String reason) static int
qmlRegisterUncreatableType
(Class<?> type, int metaObjectRevision, String uri, int versionMajor, int versionMinor, String qmlName, String reason) static int
qmlRegisterUncreatableType
(Class<?> type, String uri, int versionMajor, int versionMinor, String qmlName, String reason) static int
static void
qmlUnregisterModuleImport
(String uri, int moduleMajor, String arg__import) Overloaded function forqmlUnregisterModuleImport(java.lang.String, int, java.lang.String, int, int)
static void
qmlUnregisterModuleImport
(String uri, int moduleMajor, String arg__import, int importMajor) Overloaded function forqmlUnregisterModuleImport(java.lang.String, int, java.lang.String, int, int)
withimportMinor = QQmlModuleImportLatest
.static void
qmlUnregisterModuleImport
(String uri, int moduleMajor, String arg__import, int importMajor, int importMinor) static QQmlInfo
qmlWarning
(QObject me) static QQmlInfo
qmlWarning
(QObject me, QQmlError error) static QQmlInfo
qmlWarning
(QObject me, Collection<? extends QQmlError> errors)
-
Method Details
-
qjsEngine
-
qmlAttachedPropertiesFunction
public static QtQml.QQmlAttachedPropertiesFunc qmlAttachedPropertiesFunction(QObject arg__1, QMetaObject arg__2) See
qmlAttachedPropertiesFunction(QObject*,
const QMetaObject*) -
qmlAttachedPropertiesObject
public static QObject qmlAttachedPropertiesObject(QObject arg__1, QtQml.QQmlAttachedPropertiesFunc func, boolean create) -
qmlAttachedPropertiesObject
-
qmlClearTypeRegistrations
public static void qmlClearTypeRegistrations() -
qmlContext
-
qmlDebug
-
qmlDebug
-
qmlDebug
-
qmlEngine
-
qmlExecuteDeferred
See
qmlExecuteDeferred(QObject*)
-
qmlExtendedObject
See
qmlExtendedObject(QObject*)
-
qmlInfo
-
qmlInfo
-
qmlInfo
-
qmlProtectModule
-
qmlRegisterAnonymousSequentialContainer
public static int qmlRegisterAnonymousSequentialContainer(QMetaType containerType, String uri, int versionMajor) See
qmlRegisterAnonymousSequentialContainer<Container>(const char*,
int) -
qmlRegisterAnonymousType
-
qmlRegisterAnonymousType
-
qmlRegisterAnonymousTypesAndRevisions
public static void qmlRegisterAnonymousTypesAndRevisions(Class<?> type, String uri, int versionMajor) See
qmlRegisterAnonymousTypesAndRevisions<T>(const char*,
int) -
qmlRegisterExtendedType
-
qmlRegisterExtendedType
-
qmlRegisterExtendedUncreatableType
-
qmlRegisterExtendedUncreatableType
-
qmlRegisterInterface
public static int qmlRegisterInterface(Class<? extends QtObjectInterface> type, String uri, int versionMajor) See
qmlRegisterInterface<T>(const char*,
int) -
qmlRegisterModule
-
qmlRegisterModuleImport
-
qmlRegisterNamespaceAndRevisions
public static void qmlRegisterNamespaceAndRevisions(QMetaObject metaObject, String uri, int versionMajor, Collection<@QtPrimitiveType Integer> qmlTypeIds, QMetaObject classInfoMetaObject) See
qmlRegisterNamespaceAndRevisions(const QMetaObject*,
const char*, int, QList<int>*, const QMetaObject*) -
qmlRegisterNamespaceAndRevisions
public static void qmlRegisterNamespaceAndRevisions(QMetaObject metaObject, String uri, int versionMajor, Collection<@QtPrimitiveType Integer> qmlTypeIds, QMetaObject classInfoMetaObject, QMetaObject extensionMetaObject) See
qmlRegisterNamespaceAndRevisions(const QMetaObject*,
const char*, int, QList<int>*, const QMetaObject*, const QMetaObject*) -
qmlRegisterSingletonType
-
qmlRegisterSingletonType
public static int qmlRegisterSingletonType(String uri, int versionMajor, int versionMinor, String typeName, QtQml.ValueCallback callback) See
qmlRegisterSingletonType(const char*,
int, int, const char*, QJSValue(*)(QQmlEngine*, QJSEngine*)) -
qmlRegisterSingletonType
public static int qmlRegisterSingletonType(Class<? extends QObject> type, String uri, int versionMajor, int versionMinor, String typeName, QtQml.ObjectCallback callback) See
qmlRegisterSingletonType<T>(const char*,
int, int, const char*, QObject*(*)(QQmlEngine*, QJSEngine*)) -
qmlRegisterType
-
qmlRegisterType
-
qmlRegisterType
-
qmlRegisterTypeNotAvailable
-
qmlRegisterTypesAndRevisions
public static void qmlRegisterTypesAndRevisions(String uri, int versionMajor, Collection<@QtPrimitiveType Integer> qmlTypeIds, Class<?>... types) See
qmlRegisterTypesAndRevisions<Args>(const char*,
int, QList<int>*) -
qmlRegisterUncreatableMetaObject
public static int qmlRegisterUncreatableMetaObject(QMetaObject staticMetaObject, String uri, int versionMajor, int versionMinor, String qmlName, String reason) -
qmlRegisterUncreatableType
-
qmlRegisterUncreatableType
-
qmlTypeId
-
qmlUnregisterModuleImport
-
qmlWarning
-
qmlWarning
-
qmlWarning
-
qmlRegisterUncreatableClass
@Deprecated public static int qmlRegisterUncreatableClass(Class<? extends QObject> type, int metaObjectRevision, String uri, int versionMajor, int versionMinor, String qmlName, String reason) Deprecated. -
qmlRegisterUncreatableClass
@Deprecated public static int qmlRegisterUncreatableClass(Class<? extends QObject> type, String uri, int versionMajor, int versionMinor, String qmlName, String reason) Deprecated. -
qmlRegisterSingletonInstance
@Deprecated public static int qmlRegisterSingletonInstance(QObject instance, String uri, int versionMajor, int versionMinor, String qmlName) Deprecated. -
qmlRegisterSingletonInstance
-
qmlAttachedPropertiesObject
public static QObject qmlAttachedPropertiesObject(QObject arg__1, QtQml.QQmlAttachedPropertiesFunc func) Overloaded function for
qmlAttachedPropertiesObject(io.qt.core.QObject, io.qt.qml.QtQml.QQmlAttachedPropertiesFunc, boolean)
withcreate = true
. -
qmlAttachedPropertiesObject
Overloaded function for
qmlAttachedPropertiesObject(java.lang.Class, io.qt.core.QObject, boolean)
withcreate = true
. -
qmlRegisterModuleImport
public static void qmlRegisterModuleImport(String uri, int moduleMajor, String arg__import, int importMajor) Overloaded function for
qmlRegisterModuleImport(java.lang.String, int, java.lang.String, int, int)
withimportMinor = QQmlModuleImportLatest
. -
qmlRegisterModuleImport
Overloaded function for
qmlRegisterModuleImport(java.lang.String, int, java.lang.String, int, int)
with:
importMajor = QQmlModuleImportLatest
importMinor = QQmlModuleImportLatest
-
qmlRegisterNamespaceAndRevisions
public static void qmlRegisterNamespaceAndRevisions(QMetaObject metaObject, String uri, int versionMajor, Collection<@QtPrimitiveType Integer> qmlTypeIds) Overloaded function for
qmlRegisterNamespaceAndRevisions(io.qt.core.QMetaObject, java.lang.String, int, java.util.Collection, io.qt.core.QMetaObject)
withclassInfoMetaObject = null
. -
qmlRegisterNamespaceAndRevisions
public static void qmlRegisterNamespaceAndRevisions(QMetaObject metaObject, String uri, int versionMajor) Overloaded function for
qmlRegisterNamespaceAndRevisions(io.qt.core.QMetaObject, java.lang.String, int, java.util.Collection, io.qt.core.QMetaObject)
with:
qmlTypeIds = null
classInfoMetaObject = null
-
qmlRegisterSingletonType
public static int qmlRegisterSingletonType(String url, String uri, int versionMajor, int versionMinor, String qmlName) Overloaded function for
qmlRegisterSingletonType(io.qt.core.QUrl, java.lang.String, int, int, java.lang.String)
. -
qmlRegisterType
public static int qmlRegisterType(String url, String uri, int versionMajor, int versionMinor, String qmlName) Overloaded function for
qmlRegisterType(io.qt.core.QUrl, java.lang.String, int, int, java.lang.String)
. -
qmlRegisterTypesAndRevisions
Overloaded function for
qmlRegisterTypesAndRevisions(java.lang.String, int, java.util.Collection, java.lang.Class[])
withqmlTypeIds = null
. -
qmlUnregisterModuleImport
public static void qmlUnregisterModuleImport(String uri, int moduleMajor, String arg__import, int importMajor) Overloaded function for
qmlUnregisterModuleImport(java.lang.String, int, java.lang.String, int, int)
withimportMinor = QQmlModuleImportLatest
. -
qmlUnregisterModuleImport
Overloaded function for
qmlUnregisterModuleImport(java.lang.String, int, java.lang.String, int, int)
with:
importMajor = QQmlModuleImportLatest
importMinor = QQmlModuleImportLatest
-
qmlRegisterSingletonInstance(String, int, int, String, QObject)
instead.