diff options
author | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2021-08-23 15:14:25 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-09-03 08:56:05 +0000 |
commit | 7753f42027acbb5b4b711f4f6879ed924b8ee7cf (patch) | |
tree | 4486f58f6ef5b5c1c4237d99800f304e005a6d73 /examples/quick/imageelements/imageelements.qml | |
parent | 898f349b7876caee70e14c63259a16b175f0d5bd (diff) |
ImageElements example: Use QQC2 and update copyright
Updating the example to use qt quick controls 2 where it makes sense, as
well as copyright headers.
Task-number: QTBUG-95737
Change-Id: Ie22ab8551926916abd0a478adc16d1d4daeb13ad
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit e771c12ae73d987f8bda8802e03694c425ef749c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/quick/imageelements/imageelements.qml')
-rw-r--r-- | examples/quick/imageelements/imageelements.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/quick/imageelements/imageelements.qml b/examples/quick/imageelements/imageelements.qml index 91f2e034f7..64c3603b69 100644 --- a/examples/quick/imageelements/imageelements.qml +++ b/examples/quick/imageelements/imageelements.qml @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2017 The Qt Company Ltd. +** Copyright (C) 2021 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. @@ -48,13 +48,13 @@ ** ****************************************************************************/ -import QtQuick 2.0 -import "../shared" +import QtQuick +import "../shared" as Shared Item { height: 480 width: 320 - LauncherList { + Shared.LauncherList { id: ll anchors.fill: parent Component.onCompleted: { |