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) SeeqmlAttachedPropertiesObject(QObject*,
QQmlAttachedPropertiesFunc, bool) 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) SeeqmlAttachedPropertiesObject<T>(const QObject*,
bool) static void
static QQmlContext
qmlContext
(QObject arg__1) static QQmlInfo
SeeqmlDebug(const QObject*)
static QQmlInfo
SeeqmlDebug(const QObject*,
QQmlError) static QQmlInfo
qmlDebug
(QObject me, Collection<? extends QQmlError> errors) SeeqmlDebug(const QObject*,
QList<QQmlError>) static QQmlEngine
static void
qmlExecuteDeferred
(QObject arg__1) SeeqmlExecuteDeferred(QObject*)
static QObject
qmlExtendedObject
(QObject arg__1) SeeqmlExtendedObject(QObject*)
static QQmlInfo
SeeqmlInfo(const QObject*)
static QQmlInfo
SeeqmlInfo(const QObject*,
QQmlError) static QQmlInfo
qmlInfo
(QObject me, Collection<? extends QQmlError> errors) SeeqmlInfo(const QObject*,
QList<QQmlError>) 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) SeeqmlRegisterExtendedType<T,
E>(const char*, int) static int
qmlRegisterExtendedType
(Class<?> type, Class<?> extendedType, String uri, int versionMajor, int versionMinor, String qmlName) SeeqmlRegisterExtendedType<T,
E>(const char*, int, int, const char*) 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) static int
qmlRegisterSingletonType
(Class<? extends QObject> type, String uri, int versionMajor, int versionMinor, String typeName, QtQml.ObjectCallback callback) 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) SeeqmlWarning(const QObject*)
static QQmlInfo
qmlWarning
(QObject me, QQmlError error) SeeqmlWarning(const QObject*,
QQmlError) static QQmlInfo
qmlWarning
(QObject me, Collection<? extends QQmlError> errors) SeeqmlWarning(const QObject*,
QList<QQmlError>)
-
Method Details
-
qjsEngine
- Parameters:
arg__1
-- Returns:
-
qmlAttachedPropertiesFunction
public static QtQml.QQmlAttachedPropertiesFunc qmlAttachedPropertiesFunction(QObject arg__1, QMetaObject arg__2) See
qmlAttachedPropertiesFunction(QObject*,
const QMetaObject*) - Parameters:
arg__1
-arg__2
-- Returns:
-
qmlAttachedPropertiesObject
public static QObject qmlAttachedPropertiesObject(QObject arg__1, QtQml.QQmlAttachedPropertiesFunc func, boolean create) See
qmlAttachedPropertiesObject(QObject*,
QQmlAttachedPropertiesFunc, bool) - Parameters:
arg__1
-func
-create
-- Returns:
-
qmlAttachedPropertiesObject
public static QObject qmlAttachedPropertiesObject(Class<? extends QObject> type, QObject obj, boolean create) See
qmlAttachedPropertiesObject<T>(const QObject*,
bool) - Parameters:
type
-obj
-create
-- Returns:
-
qmlClearTypeRegistrations
public static void qmlClearTypeRegistrations() -
qmlContext
- Parameters:
arg__1
-- Returns:
-
qmlDebug
See
qmlDebug(const QObject*)
- Parameters:
me
-- Returns:
-
qmlDebug
See
qmlDebug(const QObject*,
QList<QQmlError>) - Parameters:
me
-errors
-- Returns:
-
qmlDebug
See
qmlDebug(const QObject*,
QQmlError) - Parameters:
me
-error
-- Returns:
-
qmlEngine
- Parameters:
arg__1
-- Returns:
-
qmlExecuteDeferred
See
qmlExecuteDeferred(QObject*)
- Parameters:
arg__1
-
-
qmlExtendedObject
See
qmlExtendedObject(QObject*)
- Parameters:
arg__1
-- Returns:
-
qmlInfo
See
qmlInfo(const QObject*)
- Parameters:
me
-- Returns:
-
qmlInfo
See
qmlInfo(const QObject*,
QList<QQmlError>) - Parameters:
me
-errors
-- Returns:
-
qmlInfo
See
qmlInfo(const QObject*,
QQmlError) - Parameters:
me
-error
-- Returns:
-
qmlProtectModule
- Parameters:
uri
-majVersion
-- Returns:
-
qmlRegisterAnonymousSequentialContainer
public static int qmlRegisterAnonymousSequentialContainer(QMetaType containerType, String uri, int versionMajor) See
qmlRegisterAnonymousSequentialContainer<Container>(const char*,
int) - Parameters:
containerType
-uri
-versionMajor
-- Returns:
-
qmlRegisterAnonymousType
- Parameters:
type
-uri
-versionMajor
-- Returns:
-
qmlRegisterAnonymousType
public static int qmlRegisterAnonymousType(Class<?> type, int metaObjectRevisionMinor, String uri, int versionMajor) - Parameters:
type
-metaObjectRevisionMinor
-uri
-versionMajor
-- Returns:
-
qmlRegisterAnonymousTypesAndRevisions
public static void qmlRegisterAnonymousTypesAndRevisions(Class<?> type, String uri, int versionMajor) See
qmlRegisterAnonymousTypesAndRevisions<T>(const char*,
int) - Parameters:
type
-uri
-versionMajor
-
-
qmlRegisterExtendedType
public static int qmlRegisterExtendedType(Class<?> type, Class<?> extendedType, String uri, int versionMajor) See
qmlRegisterExtendedType<T,
E>(const char*, int) - Parameters:
type
-extendedType
-uri
-versionMajor
-- Returns:
-
qmlRegisterExtendedType
public static int qmlRegisterExtendedType(Class<?> type, Class<?> extendedType, String uri, int versionMajor, int versionMinor, String qmlName) See
qmlRegisterExtendedType<T,
E>(const char*, int, int, const char*) - Parameters:
type
-extendedType
-uri
-versionMajor
-versionMinor
-qmlName
-- Returns:
-
qmlRegisterExtendedUncreatableType
public static int qmlRegisterExtendedUncreatableType(Class<?> type, Class<?> extendedType, String uri, int versionMajor, int versionMinor, String qmlName, String reason) - Parameters:
type
-extendedType
-uri
-versionMajor
-versionMinor
-qmlName
-reason
-- Returns:
-
qmlRegisterExtendedUncreatableType
public static int qmlRegisterExtendedUncreatableType(Class<?> type, Class<?> extendedType, int metaObjectRevision, String uri, int versionMajor, int versionMinor, String qmlName, String reason) - Parameters:
type
-extendedType
-metaObjectRevision
-uri
-versionMajor
-versionMinor
-qmlName
-reason
-- Returns:
-
qmlRegisterInterface
public static int qmlRegisterInterface(Class<? extends QtObjectInterface> type, String uri, int versionMajor) See
qmlRegisterInterface<T>(const char*,
int) - Parameters:
type
-uri
-versionMajor
-- Returns:
-
qmlRegisterModule
- Parameters:
uri
-versionMajor
-versionMinor
-
-
qmlRegisterModuleImport
public static void qmlRegisterModuleImport(String uri, int moduleMajor, String arg__import, int importMajor, int importMinor) - Parameters:
uri
-moduleMajor
-arg__import
-importMajor
-importMinor
-
-
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*) - Parameters:
metaObject
-uri
-versionMajor
-qmlTypeIds
-classInfoMetaObject
-
-
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*) - Parameters:
metaObject
-uri
-versionMajor
-qmlTypeIds
-classInfoMetaObject
-extensionMetaObject
-
-
qmlRegisterSingletonType
public static int qmlRegisterSingletonType(QUrl url, String uri, int versionMajor, int versionMinor, String qmlName) - Parameters:
url
-uri
-versionMajor
-versionMinor
-qmlName
-- Returns:
-
qmlRegisterSingletonType
public static int qmlRegisterSingletonType(String uri, int versionMajor, int versionMinor, String typeName, QtQml.ValueCallback callback) - Parameters:
uri
-versionMajor
-versionMinor
-typeName
-callback
-- Returns:
-
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*)) - Parameters:
type
-uri
-versionMajor
-versionMinor
-typeName
-callback
-- Returns:
-
qmlRegisterType
public static int qmlRegisterType(QUrl url, String uri, int versionMajor, int versionMinor, String qmlName) - Parameters:
url
-uri
-versionMajor
-versionMinor
-qmlName
-- Returns:
-
qmlRegisterType
public static int qmlRegisterType(Class<?> type, String uri, int versionMajor, int versionMinor, String qmlName) - Parameters:
type
-uri
-versionMajor
-versionMinor
-qmlName
-- Returns:
-
qmlRegisterType
public static int qmlRegisterType(Class<?> type, int metaObjectRevision, String uri, int versionMajor, int versionMinor, String qmlName) - Parameters:
type
-metaObjectRevision
-uri
-versionMajor
-versionMinor
-qmlName
-- Returns:
-
qmlRegisterTypeNotAvailable
public static int qmlRegisterTypeNotAvailable(String uri, int versionMajor, int versionMinor, String qmlName, String message) - Parameters:
uri
-versionMajor
-versionMinor
-qmlName
-message
-- Returns:
-
qmlRegisterTypesAndRevisions
public static void qmlRegisterTypesAndRevisions(String uri, int versionMajor, Collection<@QtPrimitiveType Integer> qmlTypeIds, Class<?>... types) See
qmlRegisterTypesAndRevisions<Args>(const char*,
int, QList<int>*) - Parameters:
uri
-versionMajor
-qmlTypeIds
-types
-
-
qmlRegisterUncreatableMetaObject
public static int qmlRegisterUncreatableMetaObject(QMetaObject staticMetaObject, String uri, int versionMajor, int versionMinor, String qmlName, String reason) - Parameters:
staticMetaObject
-uri
-versionMajor
-versionMinor
-qmlName
-reason
-- Returns:
-
qmlRegisterUncreatableType
public static int qmlRegisterUncreatableType(Class<?> type, int metaObjectRevision, String uri, int versionMajor, int versionMinor, String qmlName, String reason) - Parameters:
type
-metaObjectRevision
-uri
-versionMajor
-versionMinor
-qmlName
-reason
-- Returns:
-
qmlRegisterUncreatableType
public static int qmlRegisterUncreatableType(Class<?> type, String uri, int versionMajor, int versionMinor, String qmlName, String reason) - Parameters:
type
-uri
-versionMajor
-versionMinor
-qmlName
-reason
-- Returns:
-
qmlTypeId
- Parameters:
uri
-versionMajor
-versionMinor
-qmlName
-- Returns:
-
qmlUnregisterModuleImport
public static void qmlUnregisterModuleImport(String uri, int moduleMajor, String arg__import, int importMajor, int importMinor) - Parameters:
uri
-moduleMajor
-arg__import
-importMajor
-importMinor
-
-
qmlWarning
See
qmlWarning(const QObject*)
- Parameters:
me
-- Returns:
-
qmlWarning
See
qmlWarning(const QObject*,
QList<QQmlError>) - Parameters:
me
-errors
-- Returns:
-
qmlWarning
See
qmlWarning(const QObject*,
QQmlError) - Parameters:
me
-error
-- Returns:
-
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.