diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-09-09 17:10:19 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-09-09 20:41:11 +0000 |
commit | 399a4403b45026df1994f26324f6360b14977956 (patch) | |
tree | 251250c7ccee2e90227e96dee0e5508d9223e9c1 /examples/quick/controls/mirroring | |
parent | 8a02b7560a4b8fc78e95227c3a664fdfeeb2d18a (diff) |
Use QtQuick.Templates
Change-Id: I3d1822457efd740e7c9d91747e978d787c0dd4b8
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'examples/quick/controls/mirroring')
-rw-r--r-- | examples/quick/controls/mirroring/main.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/quick/controls/mirroring/main.qml b/examples/quick/controls/mirroring/main.qml index 286911c5..b1a339dc 100644 --- a/examples/quick/controls/mirroring/main.qml +++ b/examples/quick/controls/mirroring/main.qml @@ -41,6 +41,7 @@ import QtQuick 2.6 import QtQuick.Layouts 1.0 import QtQuick.Controls 2.0 +import QtQuick.Templates 2.0 as T ApplicationWindow { id: window @@ -221,7 +222,7 @@ ApplicationWindow { } Slider { width: parent.width - snapMode: AbstractSlider.SnapAlways + snapMode: T.Slider.SnapAlways stepSize: 0.2 value: 0.8 } @@ -232,6 +233,6 @@ ApplicationWindow { Item { width: 1; height: 12 } } - AbstractScrollIndicator.vertical: ScrollIndicator { anchors.right: parent.right } + T.ScrollIndicator.vertical: ScrollIndicator { anchors.right: parent.right } } } |