aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/chattutorial/doc/src
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-07-07 16:04:29 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-07-08 07:37:33 +0000
commit7af626e08cc21463a86d0d0614d4aeb9c036643d (patch)
tree775e8b1b4233d5426e95da56f4f614abfc359b54 /examples/quickcontrols2/chattutorial/doc/src
parent8024cb734c07a5c29a12f75d74fa1333f203ca47 (diff)
Bump up all controls and templates imports to version 2.1
Controls must import templates version 2.1 in order to "inherit" 1-revisioned properties, methods, and signals. So far, this has been done case by case, but it's less error prone and more clear to change them all. For example, if you ever see a source file pasted/linked somewhere, it's easy to identify the version it belongs to. Change-Id: I41609ec1a22bc05ac3e79f953a147ca42d9e0786 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/quickcontrols2/chattutorial/doc/src')
-rw-r--r--examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc b/examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc
index fe339133..2450d495 100644
--- a/examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc
+++ b/examples/quickcontrols2/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc
@@ -82,7 +82,7 @@ Once we've set up things in C++, we can move on to the user interface in QML.
\quotefromfile chattutorial/chapter1-settingup/main.qml
\skipto import
-\printuntil import QtQuick.Controls 2.0
+\printuntil import QtQuick.Controls 2.1
First, we import the \l {Qt Quick} module. This gives us
access to graphical primitives such as \l Item, \l Rectangle, \l Text, and so
@@ -727,7 +727,7 @@ their text color to something lighter. The simplest way of doing so is to
import the Material style directly and use the Material attached property:
\code
- import QtQuick.Controls.Material 2.0
+ import QtQuick.Controls.Material 2.1
// ...