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.