java.lang.Object
io.qt.qml.QtQml
public final class QtQml extends Object
Provides functions for producing logging messages for QML types
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 QtQml.QQmlAttachedPropertiesFunc
qmlAttachedPropertiesFunction(QObject arg__1, QMetaObject arg__2)
static QObject
qmlAttachedPropertiesObject(QObject arg__1, QtQml.QQmlAttachedPropertiesFunc func)
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> clazz, QObject obj)
static QObject
qmlAttachedPropertiesObject(Class<? extends QObject> clazz, QObject obj, boolean create)
static QObject
qmlAttachedPropertiesObjectById(int arg__1, QObject arg__2)
Deprecated.Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, boolstatic QObject
qmlAttachedPropertiesObjectById(int arg__1, QObject arg__2, boolean create)
Deprecated.Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, boolstatic void
qmlClearTypeRegistrations()
static QQmlContext
qmlContext(QObject arg__1)
static QQmlEngine
qmlEngine(QObject arg__1)
static void
qmlExecuteDeferred(QObject arg__1)
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
-
qmlAttachedPropertiesFunction
public static QtQml.QQmlAttachedPropertiesFunc qmlAttachedPropertiesFunction(QObject arg__1, QMetaObject arg__2) -
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
public static QObject qmlAttachedPropertiesObject(QObject arg__1, QtQml.QQmlAttachedPropertiesFunc func, boolean create) -
qmlAttachedPropertiesObjectById
Deprecated.Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, boolOverloaded function for
qmlAttachedPropertiesObjectById(int, io.qt.core.QObject, boolean)
withcreate = true
. -
qmlAttachedPropertiesObjectById
@Deprecated public static QObject qmlAttachedPropertiesObjectById(int arg__1, QObject arg__2, boolean create)Deprecated.Use qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc, bool -
qmlContext
-
qmlEngine
-
qmlExecuteDeferred
-
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
-