Skip to content

Commit

Permalink
refactor: Drop QML import versions
Browse files Browse the repository at this point in the history
  • Loading branch information
korapp committed Dec 15, 2023
1 parent 76a1a5e commit 1873bcc
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion package/contents/ui/CompactRepresentation.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick

Icon {
source: plasmoid.icon
Expand Down
6 changes: 3 additions & 3 deletions package/contents/ui/ConfigGeneral.qml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import QtQuick 2.0
import QtQuick.Controls 2.0
import QtQuick
import QtQuick.Controls

import org.kde.kirigami 2.3 as Kirigami
import org.kde.kirigami as Kirigami

Kirigami.FormLayout {
property alias cfg_toggleConnectionOnMiddleButton: toggleConnectionOnMiddleButton.checked
Expand Down
6 changes: 3 additions & 3 deletions package/contents/ui/DetailsText.qml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import QtQuick 2.0
import QtQuick

import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.components as PlasmaComponents3

import org.kde.kirigami 2.3 as Kirigami
import org.kde.kirigami as Kirigami

Column {
property alias model: repeater.model
Expand Down
10 changes: 5 additions & 5 deletions package/contents/ui/FullRepresentation.qml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import QtQuick 2.0
import QtQuick.Layouts 1.0
import QtQuick
import QtQuick.Layouts

import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kirigami 2.3 as Kirigami
import org.kde.plasma.components as PlasmaComponents3
import org.kde.plasma.extras as PlasmaExtras
import org.kde.kirigami as Kirigami

PlasmaComponents3.Page {
readonly property var appletInterface: plasmoid.self
Expand Down
6 changes: 3 additions & 3 deletions package/contents/ui/Icon.qml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import QtQuick 2.0
import Qt5Compat.GraphicalEffects 1.0
import QtQuick
import Qt5Compat.GraphicalEffects

import org.kde.kirigami 2.3 as Kirigami
import org.kde.kirigami as Kirigami

Item {
property alias source: icon.source
Expand Down
4 changes: 2 additions & 2 deletions package/contents/ui/Warp.qml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import QtQuick 2.0
import QtQuick

import org.kde.plasma.plasma5support 2.0 as P5Support
import org.kde.plasma.plasma5support as P5Support

Item {
property bool watchStats: false
Expand Down
14 changes: 7 additions & 7 deletions package/contents/ui/main.qml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import QtQuick 2.7
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.3
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls

import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kirigami 2.3 as Kirigami
import org.kde.notification 1.0
import org.kde.plasma.plasmoid
import org.kde.plasma.core as PlasmaCore
import org.kde.kirigami as Kirigami
import org.kde.notification

PlasmoidItem {
id: root
Expand Down

0 comments on commit 1873bcc

Please sign in to comment.