summaryrefslogtreecommitdiffstats
path: root/tools/utils/qtcreator/templates/wizards/classes/qt3d/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/utils/qtcreator/templates/wizards/classes/qt3d/file.cpp')
-rw-r--r--tools/utils/qtcreator/templates/wizards/classes/qt3d/file.cpp6
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