aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-11-28 11:49:10 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-29 03:29:53 +0100
commitea2f93567f2d37ffdf6d8462be8a21e8640a2b76 (patch)
tree11acb618b37e570a4dbc0e09ed8757abcb06594f
parentba0d63fd220ff215150e827a21a42c8de3372dd4 (diff)
Get the tutorial running again
Note that it still uses QtQuick 1.0 Change-Id: I1b6e174c2ec06ba6108f11cb295e32bc76ac3e36 Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
-rw-r--r--examples/tutorials/gettingStarted/gsQml/core/Button.qml (renamed from examples/tutorials/gettingStarted/gsQml/core/button.qml)0
-rw-r--r--examples/tutorials/gettingStarted/gsQml/core/EditMenu.qml (renamed from examples/tutorials/gettingStarted/gsQml/core/editMenu.qml)0
-rw-r--r--examples/tutorials/gettingStarted/gsQml/core/FileDialog.qml (renamed from examples/tutorials/gettingStarted/gsQml/core/fileDialog.qml)0
-rw-r--r--examples/tutorials/gettingStarted/gsQml/core/FileMenu.qml (renamed from examples/tutorials/gettingStarted/gsQml/core/fileMenu.qml)1
-rw-r--r--examples/tutorials/gettingStarted/gsQml/core/MenuBar.qml (renamed from examples/tutorials/gettingStarted/gsQml/core/menuBar.qml)0
-rw-r--r--examples/tutorials/gettingStarted/gsQml/core/TextArea.qml (renamed from examples/tutorials/gettingStarted/gsQml/core/textArea.qml)0
-rw-r--r--examples/tutorials/gettingStarted/gsQml/core/qmldir56
-rw-r--r--examples/tutorials/gettingStarted/gsQml/filedialog/qmldir2
-rw-r--r--examples/tutorials/gettingStarted/gsQml/parts/part5/core/FileMenu.qml1
-rw-r--r--examples/tutorials/gettingStarted/gsQml/parts/part5/core/qmldir2
-rw-r--r--examples/tutorials/gettingStarted/gsQml/parts/part5/filedialog/qmldir2
-rw-r--r--examples/tutorials/gettingStarted/gsQml/parts/part5/textEditor.qml (renamed from examples/tutorials/gettingStarted/gsQml/parts/part5/TextEditor.qml)0
12 files changed, 11 insertions, 53 deletions
diff --git a/examples/tutorials/gettingStarted/gsQml/core/button.qml b/examples/tutorials/gettingStarted/gsQml/core/Button.qml
index 1b53b77774..1b53b77774 100644
--- a/examples/tutorials/gettingStarted/gsQml/core/button.qml
+++ b/examples/tutorials/gettingStarted/gsQml/core/Button.qml
diff --git a/examples/tutorials/gettingStarted/gsQml/core/editMenu.qml b/examples/tutorials/gettingStarted/gsQml/core/EditMenu.qml
index 00729a737c..00729a737c 100644
--- a/examples/tutorials/gettingStarted/gsQml/core/editMenu.qml
+++ b/examples/tutorials/gettingStarted/gsQml/core/EditMenu.qml
diff --git a/examples/tutorials/gettingStarted/gsQml/core/fileDialog.qml b/examples/tutorials/gettingStarted/gsQml/core/FileDialog.qml
index 52c00b5e5c..52c00b5e5c 100644
--- a/examples/tutorials/gettingStarted/gsQml/core/fileDialog.qml
+++ b/examples/tutorials/gettingStarted/gsQml/core/FileDialog.qml
diff --git a/examples/tutorials/gettingStarted/gsQml/core/fileMenu.qml b/examples/tutorials/gettingStarted/gsQml/core/FileMenu.qml
index e723313544..e8990dc37c 100644
--- a/examples/tutorials/gettingStarted/gsQml/core/fileMenu.qml
+++ b/examples/tutorials/gettingStarted/gsQml/core/FileMenu.qml
@@ -39,6 +39,7 @@
****************************************************************************/
import QtQuick 1.0
+import "../filedialog" 1.0
Rectangle {
id: fileMenu
diff --git a/examples/tutorials/gettingStarted/gsQml/core/menuBar.qml b/examples/tutorials/gettingStarted/gsQml/core/MenuBar.qml
index 4c4b71263a..4c4b71263a 100644
--- a/examples/tutorials/gettingStarted/gsQml/core/menuBar.qml
+++ b/examples/tutorials/gettingStarted/gsQml/core/MenuBar.qml
diff --git a/examples/tutorials/gettingStarted/gsQml/core/textArea.qml b/examples/tutorials/gettingStarted/gsQml/core/TextArea.qml
index bf7b0beb70..bf7b0beb70 100644
--- a/examples/tutorials/gettingStarted/gsQml/core/textArea.qml
+++ b/examples/tutorials/gettingStarted/gsQml/core/TextArea.qml
diff --git a/examples/tutorials/gettingStarted/gsQml/core/qmldir b/examples/tutorials/gettingStarted/gsQml/core/qmldir
index bc40d0ceed..da1f373433 100644
--- a/examples/tutorials/gettingStarted/gsQml/core/qmldir
+++ b/examples/tutorials/gettingStarted/gsQml/core/qmldir
@@ -1,49 +1,7 @@
-/****************************************************************************
-**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the QtDeclarative module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
-**
-** "Redistribution and use in source and binary forms, with or without
-** modification, are permitted provided that the following conditions are
-** met:
-** * Redistributions of source code must retain the above copyright
-** notice, this list of conditions and the following disclaimer.
-** * Redistributions in binary form must reproduce the above copyright
-** notice, this list of conditions and the following disclaimer in
-** the documentation and/or other materials provided with the
-** distribution.
-** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
-** the names of its contributors may be used to endorse or promote
-** products derived from this software without specific prior written
-** permission.
-**
-** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-Button ./button.qml
-FileDialog ./fileDialog.qml
-TextArea ./textArea.qml
-TextEditor ./textEditor.qml
-EditMenu ./editMenu.qml
-MenuBar ./menuBar.qml
-FileMenu ./fileMenu.qml
-
-plugin FileDialog ../plugins
+Button ./Button.qml
+FileDialog ./FileDialog.qml
+TextArea ./TextArea.qml
+TextEditor ./TextEditor.qml
+EditMenu ./EditMenu.qml
+MenuBar ./MenuBar.qml
+FileMenu ./FileMenu.qml
diff --git a/examples/tutorials/gettingStarted/gsQml/filedialog/qmldir b/examples/tutorials/gettingStarted/gsQml/filedialog/qmldir
index c2b27dad58..4a8d13d026 100644
--- a/examples/tutorials/gettingStarted/gsQml/filedialog/qmldir
+++ b/examples/tutorials/gettingStarted/gsQml/filedialog/qmldir
@@ -1 +1 @@
-plugin FileDialog plugins
+plugin FileDialog ../plugins
diff --git a/examples/tutorials/gettingStarted/gsQml/parts/part5/core/FileMenu.qml b/examples/tutorials/gettingStarted/gsQml/parts/part5/core/FileMenu.qml
index 75b27ec1d3..edcb3da794 100644
--- a/examples/tutorials/gettingStarted/gsQml/parts/part5/core/FileMenu.qml
+++ b/examples/tutorials/gettingStarted/gsQml/parts/part5/core/FileMenu.qml
@@ -39,6 +39,7 @@
****************************************************************************/
import QtQuick 1.0
+import "../filedialog" 1.0
Rectangle {
id: fileMenu
diff --git a/examples/tutorials/gettingStarted/gsQml/parts/part5/core/qmldir b/examples/tutorials/gettingStarted/gsQml/parts/part5/core/qmldir
index 3f22778a99..b8b0c7c431 100644
--- a/examples/tutorials/gettingStarted/gsQml/parts/part5/core/qmldir
+++ b/examples/tutorials/gettingStarted/gsQml/parts/part5/core/qmldir
@@ -6,8 +6,6 @@ TextEditor ./TextEditor.qml
EditMenu ./EditMenu.qml
MenuBar ./MenuBar.qml
-plugin FileDialog ../plugins
-
diff --git a/examples/tutorials/gettingStarted/gsQml/parts/part5/filedialog/qmldir b/examples/tutorials/gettingStarted/gsQml/parts/part5/filedialog/qmldir
index c2b27dad58..4a8d13d026 100644
--- a/examples/tutorials/gettingStarted/gsQml/parts/part5/filedialog/qmldir
+++ b/examples/tutorials/gettingStarted/gsQml/parts/part5/filedialog/qmldir
@@ -1 +1 @@
-plugin FileDialog plugins
+plugin FileDialog ../plugins
diff --git a/examples/tutorials/gettingStarted/gsQml/parts/part5/TextEditor.qml b/examples/tutorials/gettingStarted/gsQml/parts/part5/textEditor.qml
index 8c5bcf2be8..8c5bcf2be8 100644
--- a/examples/tutorials/gettingStarted/gsQml/parts/part5/TextEditor.qml
+++ b/examples/tutorials/gettingStarted/gsQml/parts/part5/textEditor.qml