QNodeCreatedChangeBase Class

(Qt3DCore::QNodeCreatedChangeBase)

The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange events. More...

Public Functions

QNodeCreatedChangeBase(const Qt3DCore::QNode *node)
virtual ~QNodeCreatedChangeBase()
bool isNodeEnabled() const
const QMetaObject *metaObject() const
Qt3DCore::QNodeId parentId() const

Protected Functions

QNodeCreatedChangeBase(Qt3DCore::QNodeCreatedChangeBasePrivate &dd, const Qt3DCore::QNode *node)

Detailed Description

The QNodeCreatedChangeBase class is the base class for all NodeCreated QSceneChange events.

The QNodeCreatedChangeBase class is the base class for all QSceneChange events that have the changeType() NodeCreated. You should not need to instantiate this class. Usually you should be using one of its subclasses such as QNodeCreatedChange.

You can subclass this to create your own node update types for communication between your QNode and QBackendNode subclasses when writing your own aspects.

Member Function Documentation

QNodeCreatedChangeBase::QNodeCreatedChangeBase(const Qt3DCore::QNode *node)

Constructs a new QNodeCreatedChangeBase with node.

[protected] QNodeCreatedChangeBase::QNodeCreatedChangeBase(Qt3DCore::QNodeCreatedChangeBasePrivate &dd, const Qt3DCore::QNode *node)

Default constructs an instance of QNodeCreatedChangeBase.

[virtual] QNodeCreatedChangeBase::~QNodeCreatedChangeBase()

Destroys the instance of QNodeCreatedChangeBase. The destructor is virtual.

bool QNodeCreatedChangeBase::isNodeEnabled() const

Returns node enabled.

const QMetaObject *QNodeCreatedChangeBase::metaObject() const

Returns metaobject.

Qt3DCore::QNodeId QNodeCreatedChangeBase::parentId() const

Returns parent id.

Related Non-Members

typedef Qt3DCore::QNodeCreatedChangeBasePtr

A shared pointer for QNodeCreatedChangeBase.

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