QPropertyValueRemovedChange Class

(Qt3DCore::QPropertyValueRemovedChange)

Used to notify when a value is added to a property. More...

Header: #include <Qt3DCore/QPropertyValueRemovedChange>
qmake: QT += 3dcore
Inherits: Qt3DCore::QStaticPropertyValueRemovedChangeBase

Public Functions

QPropertyValueRemovedChange(Qt3DCore::QNodeId subjectId)
virtual ~QPropertyValueRemovedChange()
QVariant removedValue() const
void setRemovedValue(const QVariant &value)
typedef QPropertyValueRemovedChangePtr

Detailed Description

Used to notify when a value is added to a property.

Member Function Documentation

QPropertyValueRemovedChange::QPropertyValueRemovedChange(Qt3DCore::QNodeId subjectId)

Constructs a new QPropertyValueRemovedChange with subjectId.

[virtual] QPropertyValueRemovedChange::~QPropertyValueRemovedChange()

Destroys the instance of QPropertyValueRemovedChange. The destructor is virtual.

QVariant QPropertyValueRemovedChange::removedValue() const

Returns the value removed from the property.

See also setRemovedValue().

void QPropertyValueRemovedChange::setRemovedValue(const QVariant &value)

Sets the value removed from the property to value.

See also removedValue().

Related Non-Members

typedef Qt3DCore::QPropertyValueRemovedChangePtr

A shared pointer for QPropertyValueRemovedChange.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qt3dcore-qpropertyvalueremovedchange.html