summaryrefslogtreecommitdiffstats
path: root/examples/declarative/namespaces/simple.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/namespaces/simple.qml')
-rw-r--r--examples/declarative/namespaces/simple.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/declarative/namespaces/simple.qml b/examples/declarative/namespaces/simple.qml
new file mode 100644
index 0000000..16d9815
--- /dev/null
+++ b/examples/declarative/namespaces/simple.qml
@@ -0,0 +1,5 @@
+<?qtfx namespacepath:http://nokia.com/qml=lib ?>
+<Rect id="obj" width="100" height="100" xmlns:bs="BlueStuff" xmlns:rs="http://nokia.com/qml/RedStuff">
+ <bs:Rect x="20" y="20" width="50" height="50"/>
+ <rs:Rect x="30" y="30" width="50" height="50"/>
+</Rect>