summaryrefslogtreecommitdiffstats
path: root/tools/utils/qtcreator/templates/wizards/classes/qt3d/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/utils/qtcreator/templates/wizards/classes/qt3d/file.h')
-rw-r--r--tools/utils/qtcreator/templates/wizards/classes/qt3d/file.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/utils/qtcreator/templates/wizards/classes/qt3d/file.h b/tools/utils/qtcreator/templates/wizards/classes/qt3d/file.h
index 7d2e76326..9060461eb 100644
--- a/tools/utils/qtcreator/templates/wizards/classes/qt3d/file.h
+++ b/tools/utils/qtcreator/templates/wizards/classes/qt3d/file.h
@@ -29,7 +29,7 @@ class %{CN}
@endif
public:
@if '%{Base}' === 'QNode' || '%{Base}' === 'QComponent' || '%{Base}' === 'QEntity'
- explicit %{CN}(Qt3DCore::QNode *parent = 0);
+ explicit %{CN}(Qt3DCore::QNode *parent = nullptr);
@else
%{CN}();
@endif
@@ -41,12 +41,11 @@ Q_SIGNALS:
@if '%{Base}' === 'QNode' || '%{Base}' === 'QComponent' || '%{Base}' === 'QEntity'
protected:
- Q_DECLARE_PRIVATE(%{CN})
- %{CN}(%{CN}Private &dd, Qt3DCore::QNode *parent = 0);
- void copy(const Qt3DCore::QNode *ref) Q_DECL_OVERRIDE;
+ %{CN}(%{CN}Private &dd, Qt3DCore::QNode *parent = nullptr);
private:
- QT3D_CLONEABLE(%{CN})
+ Q_DECLARE_PRIVATE(%{CN})
+ Qt3DCore::QNodeCreatedChangeBasePtr createNodeCreationChange() const Q_DECL_OVERRIDE;
@endif
};
%{JS: Cpp.closeNamespaces('%{Class}')}