aboutsummaryrefslogtreecommitdiffstats
path: root/examples/localstorage
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-08-09 11:24:20 +1000
committerQt by Nokia <qt-info@nokia.com>2012-08-10 08:56:59 +0200
commit0f04787ffb587a979386bcce432dd181ac3a06db (patch)
tree6919bdce9ab0f354b66d9b569bbe6f8dcb524642 /examples/localstorage
parent4350877d6deb58f36df24164c6edde3302a3f1a3 (diff)
More consistent examples directory structure
Under examples the next directory level distinguishes imports/modules and the next directory level distinguishes examples. Change-Id: Icabadaac6ccb9c1c424efa9c9e64a7d94bc7c0da Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'examples/localstorage')
-rw-r--r--examples/localstorage/localstorage.pro11
-rw-r--r--examples/localstorage/localstorage/hello.qml (renamed from examples/localstorage/hello.qml)0
-rw-r--r--examples/localstorage/localstorage/localstorage.pro9
-rw-r--r--examples/localstorage/localstorage/localstorage.qml (renamed from examples/localstorage/localstorage.qml)0
-rw-r--r--examples/localstorage/localstorage/localstorage.qmlproject (renamed from examples/localstorage/localstorage.qmlproject)0
-rw-r--r--examples/localstorage/localstorage/main.cpp (renamed from examples/localstorage/main.cpp)4
6 files changed, 13 insertions, 11 deletions
diff --git a/examples/localstorage/localstorage.pro b/examples/localstorage/localstorage.pro
index 311dc4ac8b..dd2eb80250 100644
--- a/examples/localstorage/localstorage.pro
+++ b/examples/localstorage/localstorage.pro
@@ -1,9 +1,2 @@
-TEMPLATE = app
-
-QT += quick qml
-SOURCES += main.cpp
-
-target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/localstorage
-qml.files = localstorage.qml hello.qml
-qml.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/localstorage
-INSTALLS += target qml
+TEMPLATE = subdirs
+SUBDIRS += localstorage
diff --git a/examples/localstorage/hello.qml b/examples/localstorage/localstorage/hello.qml
index 3496b86bd9..3496b86bd9 100644
--- a/examples/localstorage/hello.qml
+++ b/examples/localstorage/localstorage/hello.qml
diff --git a/examples/localstorage/localstorage/localstorage.pro b/examples/localstorage/localstorage/localstorage.pro
new file mode 100644
index 0000000000..311dc4ac8b
--- /dev/null
+++ b/examples/localstorage/localstorage/localstorage.pro
@@ -0,0 +1,9 @@
+TEMPLATE = app
+
+QT += quick qml
+SOURCES += main.cpp
+
+target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/localstorage
+qml.files = localstorage.qml hello.qml
+qml.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/localstorage
+INSTALLS += target qml
diff --git a/examples/localstorage/localstorage.qml b/examples/localstorage/localstorage/localstorage.qml
index 714774c78e..714774c78e 100644
--- a/examples/localstorage/localstorage.qml
+++ b/examples/localstorage/localstorage/localstorage.qml
diff --git a/examples/localstorage/localstorage.qmlproject b/examples/localstorage/localstorage/localstorage.qmlproject
index 6835d23503..6835d23503 100644
--- a/examples/localstorage/localstorage.qmlproject
+++ b/examples/localstorage/localstorage/localstorage.qmlproject
diff --git a/examples/localstorage/main.cpp b/examples/localstorage/localstorage/main.cpp
index 484fcdbefc..005ed2008b 100644
--- a/examples/localstorage/main.cpp
+++ b/examples/localstorage/localstorage/main.cpp
@@ -37,5 +37,5 @@
** $QT_END_LICENSE$
**
****************************************************************************/
-#include "../shared/shared.h"
-DECLARATIVE_EXAMPLE_MAIN(localstorage) \ No newline at end of file
+#include "../../shared/shared.h"
+DECLARATIVE_EXAMPLE_MAIN(localstorage)