Change every QtQuick import versions to 2.12

This commit is contained in:
miruka 2019-07-13 05:39:01 -04:00
parent 6916039546
commit eeea0af4cd
59 changed files with 94 additions and 94 deletions

View File

@ -2,7 +2,7 @@
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.12
import QtQuick.Controls 2.0
import QtQuick.Controls 2.12
import "../Base"
import "../utils.js" as Utils

View File

@ -1,9 +1,9 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12
Button {
property bool circle: false

View File

@ -1,9 +1,9 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12
ColumnLayout {
id: columnLayout

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
HImage {
property var svgName: null

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
Image {
asynchronous: true

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
HScalingBox {
id: interfaceBox

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick.Controls 2.2
import QtQuick.Controls 2.12
Label {
font.family: theme.fontFamily.sans

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
import SortFilterProxyModel 0.2
SortFilterProxyModel {

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
ListView {
add: Transition {

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"
HRowLayout {

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
NumberAnimation {
duration: theme.animationDuration

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
Rectangle {
id: rectangle

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
HLabel {
id: label

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
HAvatar {
property string roomId: ""

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
RowLayout {
id: rowLayout

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
HRectangle {
property real widthForHeight: 0.75

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick 2.12
import QtQuick.Controls 2.12
ScrollView {
property alias backgroundColor: textAreaBackground.color

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
Item {
Layout.fillWidth: true

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
import QtQuick.Controls 1.4 as Controls1
//https://doc.qt.io/qt-5/qml-qtquick-controls-splitview.html

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick 2.12
import QtQuick.Controls 2.12
TextField {
property alias backgroundColor: textFieldBackground.color

View File

@ -1,5 +1,5 @@
import QtQuick 2.12
import QtQuick.Controls 2.0
import QtQuick.Controls 2.12
ToolTip {
// Be sure to have a width and height set, to prevent the tooltip from

View File

@ -1,9 +1,9 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12
HBaseButton {
property int horizontalMargin: 0

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
HAvatar {
property string userId: ""

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"
HRectangle {

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
import "../../Base"
import "../../utils.js" as Utils

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
import "../../Base"
Banner {

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
import "../../Base"
import "../utils.js" as ChatJS

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"
import "Banners"
import "Timeline"

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"
HRectangle {

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"
HHighlightRectangle {

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import SortFilterProxyModel 0.2
import "../../Base"
import "../../utils.js" as Utils

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"
HRectangle {

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"
HRectangle {

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
import "../../Base"
HNoticePage {

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"
import "../../utils.js" as Utils

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"
import "../../utils.js" as Utils

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
import SortFilterProxyModel 0.2
import "../../Base"

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"
HRectangle {

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick 2.12
import QtQuick.Controls 2.12
Rectangle {
color: "lightgray"

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
import SortFilterProxyModel 0.2
import "../Base"

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
import SortFilterProxyModel 0.2
import "../Base"

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
import SortFilterProxyModel 0.2
import "../Base"

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
import SortFilterProxyModel 0.2
import "../Base"

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
import SortFilterProxyModel 0.2
import "../Base"

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
import SortFilterProxyModel 0.2
import "../Base"

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"
Item {

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"
Item {

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick 2.12
import QtQuick.Controls 2.12
import io.thp.pyotherside 1.5
import "EventHandlers/includes.js" as EventHandlers

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"
HListView {

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"
HUIButton {

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick.Layouts 1.3
import QtQuick.Layouts 1.12
import "../Base"
HRowLayout {

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import SortFilterProxyModel 0.2
import "../Base"

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"
Column {

View File

@ -2,7 +2,7 @@
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.12
import QtQuick.Layouts 1.3
import QtQuick.Layouts 1.12
import "../Base"
import "../utils.js" as Utils

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import SortFilterProxyModel 0.2
import "../Base"
import "../utils.js" as Utils

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"
HRectangle {

View File

@ -1,7 +1,7 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick 2.12
QtObject {
id: theme

View File

@ -1,9 +1,9 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12
import QtQuick.Window 2.7
import "Base"
import "SidePane"

View File

@ -1,8 +1,8 @@
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick 2.12
import QtQuick.Controls 2.12
import "Base"
import "Models"