QNodeCreatedChangeBase Class

(Qt3DCore::QNodeCreatedChangeBase)

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

Header: #include <QNodeCreatedChangeBase>
qmake: QT += 3dcore
Inherits: Qt3DCore::QSceneChange
Inherited By:

Qt3DCore::QNodeCreatedChange

Public Functions

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

Protected Functions

QNodeCreatedChangeBase(QNodeCreatedChangeBasePrivate &dd, const 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 QNode *node)

Constructs a new QNodeCreatedChangeBase with node.

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

Copy constructor.

QNodeCreatedChangeBase::~QNodeCreatedChangeBase()

Destroys the instance of QNodeCreatedChangeBase.

bool QNodeCreatedChangeBase::isNodeEnabled() const

Returns node enabled.

const QMetaObject *QNodeCreatedChangeBase::metaObject() const

Returns metaobject.

QNodeId QNodeCreatedChangeBase::parentId() const

Returns parent id.

Related Non-Members

typedef Qt3DCore::QNodeCreatedChangeBasePtr

A shared pointer for QNodeCreatedChangeBase.

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