Qt QML C++ Classes

The C++ API provided by the Qt QML module More...

Classes

QJSEngine

Environment for evaluating JavaScript code

QJSValue

Acts as a container for Qt/JavaScript data types

QJSValueIterator

Java-style iterator for QJSValue

QQmlAbstractUrlInterceptor

Allows you to control QML file loading

QQmlApplicationEngine

Convenient way to load an application from a single QML file

QQmlComponent

Encapsulates a QML component definition

QQmlContext

Defines a context within a QML engine

QQmlEngine

Environment for instantiating QML components

QQmlImageProviderBase

Used to register image providers in the QML engine

QQmlError

Encapsulates a QML error

QQmlExpression

Evaluates JavaScript in a QML context

QQmlExtensionPlugin

Abstract base for custom QML extension plugins

QQmlFileSelector

A class for applying a QFileSelector to QML file loading

QQmlIncubationController

Instances drive the progress of QQmlIncubators

QQmlIncubator

Allows QML objects to be created asynchronously

QQmlListProperty

Allows applications to expose list-like properties to QML

QQmlListReference

Allows the manipulation of QQmlListProperty properties

QQmlNetworkAccessManagerFactory

Creates QNetworkAccessManager instances for a QML engine

QQmlParserStatus

Updates on the QML parser state

QQmlProperty

Abstracts accessing properties on objects created from QML

QQmlPropertyValueSource

Interface for property value sources such as animations and bindings

QQmlScriptString

Encapsulates a script and its context

QQmlPropertyMap

Allows you to set key-value pairs that can be used in QML bindings

Detailed Description

To include the definitions of the module's classes, use the following directive:


  #include <QtQml>

To link against the module, add this line to your qmake .pro file:


  QT += qml

For more information on the Qt QML module, see the Qt QML module documentation.