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. // This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick 2.12 import QtQuick 2.12
import QtQuick.Controls 2.0 import QtQuick.Controls 2.12
import "../Base" import "../Base"
import "../utils.js" as Utils import "../utils.js" as Utils

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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