diff options
author | David Morgan <david.morgan@kdab.com> | 2017-02-07 10:14:08 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-02-07 10:44:45 +0000 |
commit | 69b94b86e3141f1204c5a1121e1d289cd6f04a7b (patch) | |
tree | 42f41de2902d4da1fbc2004afc2914e36d2e8641 /tools/utils/qtcreator/templates/wizards/classes/qt3d/file.cpp | |
parent | b6d57c31f5bc97a80c7723f93b94edddccb18d1d (diff) |
Add QBackendNode wizard template
Change-Id: I0cca7a6037c4c599cc953c0d5d293c77f09216a0
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tools/utils/qtcreator/templates/wizards/classes/qt3d/file.cpp')
-rw-r--r-- | tools/utils/qtcreator/templates/wizards/classes/qt3d/file.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/utils/qtcreator/templates/wizards/classes/qt3d/file.cpp b/tools/utils/qtcreator/templates/wizards/classes/qt3d/file.cpp index 4200859a9..5106a9e74 100644 --- a/tools/utils/qtcreator/templates/wizards/classes/qt3d/file.cpp +++ b/tools/utils/qtcreator/templates/wizards/classes/qt3d/file.cpp @@ -4,7 +4,6 @@ QT_BEGIN_NAMESPACE %{JS: Cpp.openNamespaces('%{Class}')} -@if '%{Base}' === 'QNode' || '%{Base}' === 'QComponent' || '%{Base}' === 'QEntity' %{CN}Private::%{CN}Private() : Qt3DCore::%{Base}Private() { @@ -23,11 +22,7 @@ QT_BEGIN_NAMESPACE %{CN}::~%{CN}() { } -@else -// TODO: Implement QBackendNode template -@endif -@if '%{Base}' === 'QNode' || '%{Base}' === 'QComponent' || '%{Base}' === 'QEntity' Qt3DCore::QNodeCreatedChangeBasePtr %{CN}::createNodeCreationChange() const { auto creationChange = Qt3DCore::QNodeCreatedChangePtr<%{CN}Data>::create(this); @@ -36,7 +31,6 @@ Qt3DCore::QNodeCreatedChangeBasePtr %{CN}::createNodeCreationChange() const // TODO: Send data members in creation change return creationChange; } -@endif %{JS: Cpp.closeNamespaces('%{Class}')}\ QT_END_NAMESPACE |