aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qml/tutorials/extending-qml/chapter2-methods/app.qml
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-05-04 12:02:21 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-05-11 11:45:45 +0200
commitc8a2f15dc74c5b3a0cbf3f8c1891f6961578d8b2 (patch)
treedeae5c08d0b6fa4a6523fab1636a612ae66cb36c /examples/qml/tutorials/extending-qml/chapter2-methods/app.qml
parentc07ebd5249904cc66393b33ab1e3d92e29ec3da5 (diff)
QML basic reference examples: Add the tutorial texts
Take over the texts from C++ with adaptions for Python. Task-number: PYSIDE-2206 Task-number: QTBUG-111033 Pick-to: 6.5 Change-Id: Iedfb9b6cd62bf467f965c94e5dbb707a88456278 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter2-methods/app.qml')
-rw-r--r--examples/qml/tutorials/extending-qml/chapter2-methods/app.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/qml/tutorials/extending-qml/chapter2-methods/app.qml b/examples/qml/tutorials/extending-qml/chapter2-methods/app.qml
index d330f3b64..d9477e253 100644
--- a/examples/qml/tutorials/extending-qml/chapter2-methods/app.qml
+++ b/examples/qml/tutorials/extending-qml/chapter2-methods/app.qml
@@ -1,6 +1,6 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-//![0]
+
import Charts
import QtQuick
@@ -30,4 +30,3 @@ Item {
text: "Click anywhere to clear the chart"
}
}
-//![0]