Name Description Size Coverage
qqmlbind.cpp ! \internal QQmlBindEntryContent can store one of QV4::Value, QVariant, QQmlAnyBinding, or nothing, as denoted by QQmlBindEntryKind. It expects the calling code to know what is stored at any time. On each method invocation, the current kind has to be passed as last parameter and the new kind is returned. 54406 -
qqmlbind_p.h 2752 -
qqmlconnections.cpp 17207 -
qqmlconnections_p.h 2621 -
qqmllocaleenums_p.h 1178 -
qqmlloggingcategory.cpp ! \qmltype LoggingCategory \ingroup qml-utility-elements \inqmlmodule QtQml \brief Defines a logging category in QML. \since 5.8 A logging category can be passed to console.log() and friends as the first argument. If supplied to the logger the LoggingCategory's name will be used as logging category. Otherwise the default logging category will be used. \qml import QtQuick Item { LoggingCategory { id: category name: "com.qt.category" defaultLogLevel: LoggingCategory.Warning } Component.onCompleted: { console.log(category, "log message"); console.warn(category, "warning message"); } } \endqml By default this outputs only \c{com.qt.category: warning message}. The \c{log message} is suppressed due to the \l{defaultLogLevel}. You can, however, configure log levels for QML logging categories the same way you can configure them for \l{QLoggingCategory#configuring-categories}{QLoggingCategory}. \note As the creation of objects is expensive, it is encouraged to put the needed LoggingCategory definitions into a singleton and import this where needed. \sa QLoggingCategory 4065 -
qqmlloggingcategory_p.h 1916 -
qqmlmetadependencies.cpp 954 -
qqmlmetadependencies_p.h 745 -
qqmltimer.cpp ! \qmltype Timer \inqmlmodule QtQml \ingroup qtquick-interceptors \brief Triggers a handler at a specified interval. A Timer can be used to trigger an action either once, or repeatedly at a given interval. Here is a Timer that shows the current date and time, and updates the text every 500 milliseconds. It uses the JavaScript \c Date object to access the current time. \qml import QtQuick 2.0 Item { Timer { interval: 500; running: true; repeat: true onTriggered: time.text = Date().toString() } Text { id: time } } \endqml The Timer type is synchronized with the animation timer. Since the animation timer is usually set to 60fps, the resolution of Timer will be at best 16ms. If the Timer is running and one of its properties is changed, the elapsed time will be reset. For example, if a Timer with interval of 1000ms has its \e repeat property changed 500ms after starting, the elapsed time will be reset to 0, and the Timer will be triggered 1000ms later. \sa {Qt Quick Demo - Clocks} 7946 -
qqmltimer_p.h 2129 -