Home · All Classes · All Functions · Overviews

QML QtObject Element Reference

[QtObject instantiates the C++ class QObject]

The QtObject element is the most basic element in QML More...

Properties

Detailed Description

The QtObject element is a non-visual element which contains only the objectName property. It is useful for when you need an extremely lightweight element to place your own custom properties in.

It can also be useful for C++ integration, as it is just a plain QObject. See the QObject documentation for further details.


Property Documentation

objectName : string

This property allows you to give a name to this specific object instance.

See Accessing Child QObjects in the scripting documentation for details how objectName can be used from scripts.



Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.7.0