QComponentRemovedChange Class

(Qt3DCore::QComponentRemovedChange)

The QComponentRemovedChange class is used to notify when a component is removed from an entity. More...

Header: #include <Qt3DCore/QComponentRemovedChange>
qmake: QT += 3dcore
Inherits: Qt3DCore::QSceneChange

Public Functions

QComponentRemovedChange(const Qt3DCore::QEntity *entity, const Qt3DCore::QComponent *component)
QComponentRemovedChange(const Qt3DCore::QComponent *component, const Qt3DCore::QEntity *entity)
virtual ~QComponentRemovedChange()
Qt3DCore::QNodeId componentId() const
const QMetaObject * componentMetaObject() const
Qt3DCore::QNodeId entityId() const
typedef QComponentRemovedChangePtr

Detailed Description

The QComponentRemovedChange class is used to notify when a component is removed from an entity.

Member Function Documentation

QComponentRemovedChange::QComponentRemovedChange(const Qt3DCore::QEntity *entity, const Qt3DCore::QComponent *component)

Constructs a new QComponentRemovedChange which will notify entity that component was removed.

QComponentRemovedChange::QComponentRemovedChange(const Qt3DCore::QComponent *component, const Qt3DCore::QEntity *entity)

Constructs a new QComponentRemovedChange which will notify component that it was removed from entity

[virtual] QComponentRemovedChange::~QComponentRemovedChange()

Destroys the instance of QComponentRemovedChange. The destructor is virtual.

Qt3DCore::QNodeId QComponentRemovedChange::componentId() const

Returns the id of the component removed.

const QMetaObject *QComponentRemovedChange::componentMetaObject() const

Returns the metaobject.

Qt3DCore::QNodeId QComponentRemovedChange::entityId() const

Returns the id of the entity the component was removed from.

Related Non-Members

typedef Qt3DCore::QComponentRemovedChangePtr

A shared pointer for QComponentRemovedChange.

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