QDynamicPropertyUpdatedChange Class

(Qt3DCore::QDynamicPropertyUpdatedChange)

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

Header: #include <Qt3DCore/QDynamicPropertyUpdatedChange>
qmake: QT += 3dcore
Inherits: Qt3DCore::QPropertyUpdatedChangeBase

Public Functions

QDynamicPropertyUpdatedChange(Qt3DCore::QNodeId subjectId)
virtual ~QDynamicPropertyUpdatedChange()
QByteArray propertyName() const
void setPropertyName(const QByteArray &name)
void setValue(const QVariant &value)
QVariant value() const

Protected Functions

QDynamicPropertyUpdatedChange(Qt3DCore::QDynamicPropertyUpdatedChangePrivate &dd, Qt3DCore::QNodeId subjectId)

Detailed Description

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

Member Function Documentation

QDynamicPropertyUpdatedChange::QDynamicPropertyUpdatedChange(Qt3DCore::QNodeId subjectId)

Constructs a new QDynamicPropertyUpdatedChange with subjectId.

[protected] QDynamicPropertyUpdatedChange::QDynamicPropertyUpdatedChange(Qt3DCore::QDynamicPropertyUpdatedChangePrivate &dd, Qt3DCore::QNodeId subjectId)

Default constructs an instance of QDynamicPropertyUpdatedChange.

[virtual] QDynamicPropertyUpdatedChange::~QDynamicPropertyUpdatedChange()

Destroys the instance of QDynamicPropertyUpdatedChange. The destructor is virtual.

QByteArray QDynamicPropertyUpdatedChange::propertyName() const

Returns name of the property.

See also setPropertyName().

void QDynamicPropertyUpdatedChange::setPropertyName(const QByteArray &name)

Sets the property change name.

See also propertyName().

void QDynamicPropertyUpdatedChange::setValue(const QVariant &value)

Set the property change value.

See also value().

QVariant QDynamicPropertyUpdatedChange::value() const

Returns property value.

See also setValue().

Related Non-Members

typedef Qt3DCore::QDynamicPropertyUpdatedChangePtr

A shared pointer for QDynamicPropertyUpdatedChange.

© 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.