diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2014-09-29 17:19:36 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2014-10-03 21:18:41 +0200 |
commit | 7b26f6a1746419161a8f875e341b3e31220f4141 (patch) | |
tree | f784e568015e1f7f199abb388b97fefdb158c84e /src/core/nodes/qcomponent.cpp | |
parent | c16689bb1ccf31416df7b8c69fe032898cf87dec (diff) |
QNode refactoring
Move almost everything to private classes.
Assimp loading restored.
All examples working.
QNode hierachy is now handled through QObject::setParent, addChild,
removeChild are part of the private api.
Note: commented QChangeArbiter unit tests as they can no longer work with this
patch and will restore them when QChangeArbiter will have been made private.
Task-number: QTBUG-41470
Task-number: QTBUG-41523
Change-Id: I4430974b3aa7f3744c38714b451b122e0cb4d0c9
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/core/nodes/qcomponent.cpp')
-rw-r--r-- | src/core/nodes/qcomponent.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/core/nodes/qcomponent.cpp b/src/core/nodes/qcomponent.cpp index 562466549..27aa1da37 100644 --- a/src/core/nodes/qcomponent.cpp +++ b/src/core/nodes/qcomponent.cpp @@ -48,7 +48,6 @@ namespace Qt3D { QComponentPrivate::QComponentPrivate(QComponent *qq) : QNodePrivate(qq) - , m_enabled(true) { } @@ -62,21 +61,6 @@ QComponent::QComponent(QComponentPrivate &dd, QNode *parent) { } -void QComponent::setEnabled(bool enabled) -{ - Q_D(QComponent); - if (d->m_enabled != enabled) { - d->m_enabled = enabled; - emit enabledChanged(); - } -} - -bool QComponent::isEnabled() const -{ - Q_D(const QComponent); - return d->m_enabled; -} - } // namespace Qt3D QT_END_NAMESPACE |