aboutsummaryrefslogtreecommitdiffstats
path: root/qface/builtin/qtqml/templates/Interface.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qface/builtin/qtqml/templates/Interface.qml')
-rw-r--r--qface/builtin/qtqml/templates/Interface.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/qface/builtin/qtqml/templates/Interface.qml b/qface/builtin/qtqml/templates/Interface.qml
index 2dc9d5f..f4ebf70 100644
--- a/qface/builtin/qtqml/templates/Interface.qml
+++ b/qface/builtin/qtqml/templates/Interface.qml
@@ -1,3 +1,16 @@
+{% include 'copyright.h' %}
+
+
+/*
+ * This is a preserved file.
+ * Changes will not be overriden by the generator.
+ * To reset the file you need to delete it first.
+ */
+
+{% if 'singleton' in interface.tags %}
+pragma Singleton
+{% endif %}
+
import QtQml 2.2
import "private"
@@ -5,3 +18,4 @@ import "private"
Abstract{{interface}} {
id: root
}
+