QPropertyUpdatedChange Class

(Qt3DCore::QPropertyUpdatedChange)

The QPropertyUpdatedChange class is used to notify when a property value is updated. More...

Header: #include <Qt3DCore/QPropertyUpdatedChange>
qmake: QT += 3dcore
Inherits: Qt3DCore::QStaticPropertyUpdatedChangeBase

Public Functions

QPropertyUpdatedChange(Qt3DCore::QNodeId subjectId)
virtual ~QPropertyUpdatedChange()
void setValue(const QVariant &value)
QVariant value() const

Detailed Description

The QPropertyUpdatedChange class is used to notify when a property value is updated.

Member Function Documentation

QPropertyUpdatedChange::QPropertyUpdatedChange(Qt3DCore::QNodeId subjectId)

Constructs a new QPropertyUpdatedChange with subjectId.

[virtual] QPropertyUpdatedChange::~QPropertyUpdatedChange()

Destroys the instance of QPropertyUpdatedChange. The destructor is virtual.

void QPropertyUpdatedChange::setValue(const QVariant &value)

Set the property change value.

See also value().

QVariant QPropertyUpdatedChange::value() const

Returns property value.

See also setValue().

Related Non-Members

typedef Qt3DCore::QPropertyUpdatedChangePtr

A shared pointer for QPropertyUpdatedChange.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.