Get the tutorial running again
authorAlan Alpert <alan.alpert@nokia.com>
Mon, 28 Nov 2011 01:49:10 +0000 (11:49 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 29 Nov 2011 02:29:53 +0000 (03:29 +0100)
Note that it still uses QtQuick 1.0

Change-Id: I1b6e174c2ec06ba6108f11cb295e32bc76ac3e36
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>

12 files changed:
examples/tutorials/gettingStarted/gsQml/core/Button.qml [moved from examples/tutorials/gettingStarted/gsQml/core/button.qml with 100% similarity]
examples/tutorials/gettingStarted/gsQml/core/EditMenu.qml [moved from examples/tutorials/gettingStarted/gsQml/core/editMenu.qml with 100% similarity]
examples/tutorials/gettingStarted/gsQml/core/FileDialog.qml [moved from examples/tutorials/gettingStarted/gsQml/core/fileDialog.qml with 100% similarity]
examples/tutorials/gettingStarted/gsQml/core/FileMenu.qml [moved from examples/tutorials/gettingStarted/gsQml/core/fileMenu.qml with 99% similarity]
examples/tutorials/gettingStarted/gsQml/core/MenuBar.qml [moved from examples/tutorials/gettingStarted/gsQml/core/menuBar.qml with 100% similarity]
examples/tutorials/gettingStarted/gsQml/core/TextArea.qml [moved from examples/tutorials/gettingStarted/gsQml/core/textArea.qml with 100% similarity]
examples/tutorials/gettingStarted/gsQml/core/qmldir
examples/tutorials/gettingStarted/gsQml/filedialog/qmldir
examples/tutorials/gettingStarted/gsQml/parts/part5/core/FileMenu.qml
examples/tutorials/gettingStarted/gsQml/parts/part5/core/qmldir
examples/tutorials/gettingStarted/gsQml/parts/part5/filedialog/qmldir
examples/tutorials/gettingStarted/gsQml/parts/part5/textEditor.qml [moved from examples/tutorials/gettingStarted/gsQml/parts/part5/TextEditor.qml with 100% similarity]

@@ -39,6 +39,7 @@
 ****************************************************************************/
 
 import QtQuick 1.0
+import "../filedialog" 1.0
 
 Rectangle {
     id: fileMenu
index bc40d0c..da1f373 100644 (file)
@@ -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
index 75b27ec..edcb3da 100644 (file)
@@ -39,6 +39,7 @@
 ****************************************************************************/
 
 import QtQuick 1.0
+import "../filedialog" 1.0
 
 Rectangle {
     id: fileMenu
index 3f22778..b8b0c7c 100644 (file)
@@ -6,8 +6,6 @@ TextEditor ./TextEditor.qml
 EditMenu ./EditMenu.qml
 MenuBar ./MenuBar.qml
 
-plugin FileDialog ../plugins
-