Port to versionless QML module imports

It's more convenient and Qt upstream seems to encourage to use it too,
e.g. example import statements have no version.
This commit is contained in:
Vlad Zahorodnii 2023-03-11 12:29:24 +02:00
parent 18a9b3b25a
commit 4148be0d27
55 changed files with 214 additions and 214 deletions

View file

@ -1,5 +1,5 @@
import QtQuick 2.0;
import org.kde.kwin 3.0;
import QtQuick
import org.kde.kwin
ScreenEdgeHandler {
edge: ScreenEdgeHandler.LeftEdge

View file

@ -6,12 +6,12 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import org.kde.kwin 3.0 as KWinComponents
import org.kde.kwin.private.effects 1.0
import org.kde.plasma.core 2.0 as PlasmaCore
import QtQuick
import org.kde.kwin as KWinComponents
import org.kde.kwin.private.effects
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.components 3.0 as PC3
import org.kde.kwin.private.desktopgrid 1.0
import org.kde.kwin.private.desktopgrid
FocusScope {
id: desktopView

View file

@ -6,13 +6,13 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick
import Qt5Compat.GraphicalEffects
import QtQuick.Layouts 1.15
import QtQuick.Window 2.15
import org.kde.kwin 3.0 as KWinComponents
import org.kde.kwin.private.effects 1.0
import org.kde.plasma.core 2.0 as PlasmaCore
import QtQuick.Layouts
import QtQuick.Window
import org.kde.kwin as KWinComponents
import org.kde.kwin.private.effects
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.components 3.0 as PC3
Rectangle {

View file

@ -4,8 +4,8 @@
SPDX-License-Identifier: LGPL-2.1-or-later
*/
import QtQuick 2.1
import org.kde.plasma.core 2.0 as PlasmaCore
import QtQuick
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.components 3.0 as PlasmaComponents3
Rectangle {

View file

@ -5,15 +5,15 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick
import Qt5Compat.GraphicalEffects
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import QtQuick.Controls
import QtQuick.Layouts
import org.kde.kirigami 2.20 as Kirigami
import org.kde.kwin 3.0 as KWinComponents
import org.kde.kwin.private.effects 1.0
import org.kde.kwin as KWinComponents
import org.kde.kwin.private.effects
import org.kde.plasma.components 3.0 as PC3
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.core as PlasmaCore
Item {
id: bar

View file

@ -4,8 +4,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import org.kde.kwin 3.0 as KWinComponents
import QtQuick
import org.kde.kwin as KWinComponents
Item {
id: desktopView

View file

@ -5,15 +5,15 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick
import Qt5Compat.GraphicalEffects
import org.kde.kirigami 2.20 as Kirigami
import org.kde.kwin 3.0 as KWinComponents
import org.kde.kwin.private.effects 1.0
import org.kde.milou 0.3 as Milou
import org.kde.kwin as KWinComponents
import org.kde.kwin.private.effects
import org.kde.milou as Milou
import org.kde.plasma.components 3.0 as PC3
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.extras as PlasmaExtras
FocusScope {
id: container

View file

@ -5,13 +5,13 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick.Window 2.15
import QtQuick
import QtQuick.Window
import org.kde.kirigami 2.20 as Kirigami
import org.kde.kwin 3.0 as KWinComponents
import org.kde.kwin.private.effects 1.0
import org.kde.kwin as KWinComponents
import org.kde.kwin.private.effects
import org.kde.plasma.components 3.0 as PC3
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.core as PlasmaCore
FocusScope {
id: heap

View file

@ -5,13 +5,13 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick.Window 2.15
import QtQuick
import QtQuick.Window
import org.kde.kirigami 2.20 as Kirigami
import org.kde.kwin 3.0 as KWinComponents
import org.kde.kwin.private.effects 1.0
import org.kde.kwin as KWinComponents
import org.kde.kwin.private.effects
import org.kde.plasma.components 3.0 as PC3
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.core as PlasmaCore
Item {
id: thumb

View file

@ -4,13 +4,13 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import org.kde.kirigami 2.18 as Kirigami
import org.kde.quickcharts 1.0 as Charts
import org.kde.quickcharts.controls 1.0 as ChartControls
import org.kde.quickcharts as Charts
import org.kde.quickcharts.controls as ChartControls
Rectangle {
id: root

View file

@ -4,12 +4,12 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick
import Qt5Compat.GraphicalEffects
import QtQuick.Layouts 1.4
import org.kde.kwin 3.0 as KWinComponents
import org.kde.kwin.private.effects 1.0
import org.kde.plasma.core 2.0 as PlasmaCore
import QtQuick.Layouts
import org.kde.kwin as KWinComponents
import org.kde.kwin.private.effects
import org.kde.plasma.core as PlasmaCore
Rectangle {
id: handle

View file

@ -4,10 +4,10 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import org.kde.kwin 3.0 as KWinComponents
import org.kde.kwin.private.effects 1.0
import org.kde.plasma.core 2.0 as PlasmaCore
import QtQuick
import org.kde.kwin as KWinComponents
import org.kde.kwin.private.effects
import org.kde.plasma.core as PlasmaCore
Rectangle {
id: handle

View file

@ -4,11 +4,11 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick.Layouts 1.4
import org.kde.kwin 3.0 as KWinComponents
import org.kde.kwin.private.effects 1.0
import org.kde.plasma.core 2.0 as PlasmaCore
import QtQuick
import QtQuick.Layouts
import org.kde.kwin as KWinComponents
import org.kde.kwin.private.effects
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.components 3.0 as PlasmaComponents
Item {

View file

@ -4,14 +4,14 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick
import Qt5Compat.GraphicalEffects
import QtQuick.Layouts 1.4
import org.kde.kwin 3.0 as KWinComponents
import org.kde.kwin.private.effects 1.0
import org.kde.plasma.core 2.0 as PlasmaCore
import QtQuick.Layouts
import org.kde.kwin as KWinComponents
import org.kde.kwin.private.effects
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.components 3.0 as PlasmaComponents
import org.kde.kitemmodels 1.0 as KitemModels
import org.kde.kitemmodels as KitemModels
FocusScope {
id: root

View file

@ -5,14 +5,14 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick
import Qt5Compat.GraphicalEffects
import QtQuick.Layouts 1.15
import org.kde.kwin 3.0 as KWinComponents
import org.kde.kwin.private.effects 1.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.KWin.Effect.WindowView 1.0
import QtQuick.Layouts
import org.kde.kwin as KWinComponents
import org.kde.kwin.private.effects
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.extras as PlasmaExtras
import org.kde.KWin.Effect.WindowView
Item {
id: container

View file

@ -3,10 +3,10 @@
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick 2.15
import QtQuick
import org.kde.kirigami 2.20 as Kirigami
import org.kde.kwin.private.kdecoration 1.0 as KDecoration
import org.kde.kwin.private.kdecoration as KDecoration
ListView {
id: view

View file

@ -4,13 +4,13 @@
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Controls 2.15 as QQC2
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls as QQC2
import org.kde.kcm 1.6 as KCM
import org.kde.kcm as KCM
import org.kde.kirigami 2.20 as Kirigami
import org.kde.kwin.private.kdecoration 1.0 as KDecoration
import org.kde.kwin.private.kdecoration as KDecoration
// Fake Window
Rectangle {

View file

@ -5,11 +5,11 @@
SPDX-License-Identifier: LGPL-2.0-only
*/
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Controls 2.15 as QQC2
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls as QQC2
import org.kde.kcm 1.6 as KCM
import org.kde.kcm as KCM
import org.kde.kirigami 2.20 as Kirigami
KCM.AbstractKCM {

View file

@ -4,11 +4,11 @@
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick 2.15
import QtQuick
import org.kde.kcm 1.6 as KCM
import org.kde.kcm as KCM
import org.kde.kirigami 2.20 as Kirigami
import org.kde.kwin.private.kdecoration 1.0 as KDecoration
import org.kde.kwin.private.kdecoration as KDecoration
KCM.GridView {
function updateDecoration(item, marginTopLeft, marginBottomRight) {

View file

@ -5,13 +5,13 @@
SPDX-License-Identifier: LGPL-2.0-only
*/
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Controls 2.15 as QQC2
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls as QQC2
import org.kde.kcm 1.6 as KCM
import org.kde.kcm as KCM
import org.kde.kirigami 2.20 as Kirigami
import org.kde.newstuff 1.85 as NewStuff
import org.kde.newstuff as NewStuff
KCM.AbstractKCM {
id: root

View file

@ -4,11 +4,11 @@
SPDX-License-Identifier: LGPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick.Controls 2.15 as QQC2
import QtQuick.Layouts 1.15
import QtQuick
import QtQuick.Controls as QQC2
import QtQuick.Layouts
import org.kde.kcm 1.6 as KCM
import org.kde.kcm as KCM
import org.kde.kirigami 2.20 as Kirigami
KCM.ScrollViewKCM {

View file

@ -6,12 +6,12 @@
*/
import QtQuick 2.5
import QtQuick.Controls 2.5 as QQC2
import QtQuick.Layouts 1.1
import QtQuick
import QtQuick.Controls as QQC2
import QtQuick.Layouts
import org.kde.kirigami 2.5 as Kirigami
import org.kde.kcm 1.5 as KCM
import org.kde.kcm as KCM
Kirigami.SwipeListItem {
id: listItem

View file

@ -8,10 +8,10 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.5
import QtQuick.Controls 2.5 as QQC2
import QtQuick.Layouts 1.1
import QtMultimedia 5.0 as Multimedia
import QtQuick
import QtQuick.Controls as QQC2
import QtQuick.Layouts
import QtMultimedia as Multimedia
Multimedia.Video {
id: videoItem

View file

@ -5,16 +5,16 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.5
import QtQuick.Controls 2.5 as QQC2
import QtQuick.Layouts 1.1
import QtQuick
import QtQuick.Controls as QQC2
import QtQuick.Layouts
import org.kde.kcm 1.2
import org.kde.kconfig 1.0
import org.kde.kcm
import org.kde.kconfig
import org.kde.kirigami 2.10 as Kirigami
import org.kde.newstuff 1.62 as NewStuff
import org.kde.newstuff as NewStuff
import org.kde.private.kcms.kwin.effects 1.0 as Private
import org.kde.private.kcms.kwin.effects as Private
ScrollViewKCM {
ConfigModule.quickHelp: i18n("This module lets you configure desktop effects.")

View file

@ -4,12 +4,12 @@
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick 2.14
import QtQuick.Layouts 1.14
import QtQuick.Controls 2.14 as QQC2
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls as QQC2
import org.kde.kirigami 2.10 as Kirigami
import org.kde.kcms.kwinrules 1.0
import org.kde.kcms.kwinrules
QQC2.ComboBox {

View file

@ -4,9 +4,9 @@
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick 2.14
import QtQuick.Layouts 1.14
import QtQuick.Controls 2.14 as QQC2
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls as QQC2
import org.kde.kirigami 2.10 as Kirigami
Kirigami.AbstractListItem {

View file

@ -4,13 +4,13 @@
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Controls 2.15 as QQC2
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls as QQC2
import org.kde.kirigami 2.19 as Kirigami
import org.kde.kcm 1.2
import org.kde.kitemmodels 1.0
import org.kde.kcms.kwinrules 1.0
import org.kde.kcm
import org.kde.kitemmodels
import org.kde.kcms.kwinrules
ScrollViewKCM {

View file

@ -4,13 +4,13 @@
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick 2.14
import QtQuick.Layouts 1.14
import QtQuick.Controls 2.14 as QQC2
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls as QQC2
import org.kde.kirigami 2.10 as Kirigami
import org.kde.kquickcontrols 2.0 as KQC
import org.kde.kcms.kwinrules 1.0
import org.kde.kquickcontrols as KQC
import org.kde.kcms.kwinrules
Loader {

View file

@ -4,11 +4,11 @@
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick 2.15
import QtQuick.Layouts 1.14
import QtQuick.Controls 2.14 as QQC2
import QtQml.Models 2.14
import org.kde.kcm 1.2
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls as QQC2
import QtQml.Models
import org.kde.kcm
import org.kde.kirigami 2.12 as Kirigami
ScrollViewKCM {

View file

@ -5,15 +5,15 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.5
import QtQuick.Controls 2.15 as QQC2
import QtQuick.Layouts 1.1
import QtQuick
import QtQuick.Controls as QQC2
import QtQuick.Layouts
import org.kde.kcm 1.2
import org.kde.kconfig 1.0
import org.kde.kcm
import org.kde.kconfig
import org.kde.kirigami 2.10 as Kirigami
import org.kde.newstuff 1.91 as NewStuff
import org.kde.kcmutils 1.0 as KCMUtils
import org.kde.newstuff as NewStuff
import org.kde.kcmutils as KCMUtils
ScrollViewKCM {
implicitWidth: Kirigami.Units.gridUnit * 22

View file

@ -5,11 +5,11 @@
*/
import QtQuick 2.1
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.3 as QQC2
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls as QQC2
import org.kde.kirigami 2.6 as Kirigami
import org.kde.kcm 1.3 as KCM
import org.kde.kcm as KCM
KCM.GridViewKCM {
id: root

View file

@ -5,13 +5,13 @@
*/
import QtQuick 2.1
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.3 as QQC2
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls as QQC2
import org.kde.kirigami 2.6 as Kirigami
import org.kde.kcm 1.3 as KCM
import org.kde.kwin.kwinxwaylandsettings 1.0
import org.kde.kquickcontrols 2.0
import org.kde.kcm as KCM
import org.kde.kwin.kwinxwaylandsettings
import org.kde.kquickcontrols
KCM.SimpleKCM {
id: root

View file

@ -3,9 +3,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kwin.decoration 0.1
import QtQuick
import org.kde.plasma.core as PlasmaCore
import org.kde.kwin.decoration
DecorationButton {
id: appMenuButton

View file

@ -3,9 +3,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kwin.decoration 0.1
import QtQuick
import org.kde.plasma.core as PlasmaCore
import org.kde.kwin.decoration
DecorationButton {
function widthForButton() {

View file

@ -3,9 +3,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kwin.decoration 0.1
import QtQuick
import org.kde.plasma.core as PlasmaCore
import org.kde.kwin.decoration
Item {
function createButtons() {

View file

@ -3,8 +3,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import org.kde.kwin.decoration 0.1
import QtQuick
import org.kde.kwin.decoration
Item {
id: button

View file

@ -3,8 +3,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import org.kde.kwin.decoration 0.1
import QtQuick
import org.kde.kwin.decoration
Item {
function createButtons() {

View file

@ -3,8 +3,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import org.kde.kwin.decoration 0.1
import QtQuick
import org.kde.kwin.decoration
Item {
property QtObject borders: Borders {

View file

@ -3,8 +3,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import org.kde.kwin.decoration 0.1
import QtQuick
import org.kde.kwin.decoration
Item {
id: button

View file

@ -3,9 +3,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import org.kde.kwin.decoration 0.1
import org.kde.plasma.core 2.0 as PlasmaCore
import QtQuick
import org.kde.kwin.decoration
import org.kde.plasma.core as PlasmaCore
DecorationButton {
property bool closeOnDoubleClick: decorationSettings.closeOnDoubleClickOnMenu

View file

@ -3,9 +3,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import org.kde.kwin.decoration 0.1
import org.kde.plasma.core 2.0 as PlasmaCore
import QtQuick
import org.kde.kwin.decoration
import org.kde.plasma.core as PlasmaCore
Decoration {
id: root

View file

@ -3,9 +3,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import org.kde.kwin.decoration 0.1
import org.kde.kwin.decorations.plastik 1.0
import QtQuick
import org.kde.kwin.decoration
import org.kde.kwin.decorations.plastik
DecorationButton {
id: button

View file

@ -3,9 +3,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import org.kde.kwin.decoration 0.1
import org.kde.kwin.decorations.plastik 1.0
import QtQuick
import org.kde.kwin.decoration
import org.kde.kwin.decorations.plastik
Decoration {
function readBorderSize() {

View file

@ -5,9 +5,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Controls 2.15 as QQC2
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls as QQC2
import org.kde.kirigami 2.12 as Kirigami

View file

@ -5,10 +5,10 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick
import QtQuick.Layouts
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.components 3.0 as PlasmaComponents
Item {

View file

@ -5,9 +5,9 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Controls 2.15 as QQC2
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls as QQC2
import org.kde.kirigami 2.12 as Kirigami

View file

@ -1,4 +1,4 @@
import QtQuick 2.3
import QtQuick
QtObject {
property bool visible: true

View file

@ -5,11 +5,11 @@
*/
import QtQuick 2.15
import QtQuick.Layouts 1.15
import QtQuick.Window 2.15
import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import org.kde.plasma.core 2.1 as PlasmaCore
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.components 3.0 as PlasmaComponents3
PlasmaCore.Dialog {

View file

@ -4,10 +4,10 @@
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick 2.1
import QtQuick.Window 2.1
import org.kde.kwin 3.0
import org.kde.plasma.core 2.0 as PlasmaCore
import QtQuick
import QtQuick.Window
import org.kde.kwin
import org.kde.plasma.core as PlasmaCore
Window {
id: window

View file

@ -6,8 +6,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0;
import org.kde.kwin 3.0
import QtQuick
import org.kde.kwin
Item {
id: root

View file

@ -6,11 +6,11 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0;
import QtQuick.Window 2.0;
import org.kde.plasma.core 2.0 as PlasmaCore;
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kwin 3.0
import QtQuick
import QtQuick.Window
import org.kde.plasma.core as PlasmaCore;
import org.kde.plasma.extras as PlasmaExtras
import org.kde.kwin
PlasmaCore.Dialog {
id: dialog

View file

@ -6,8 +6,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.2
import QtQuick.Controls
import QtQuick.Layouts
GridLayout {
columns: 2

View file

@ -3,9 +3,9 @@
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
import QtQuick 2.10
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.1
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
ColumnLayout {
/* for margins */

View file

@ -3,8 +3,8 @@
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick 2.0
import org.kde.kwin.tests 1.0
import QtQuick
import org.kde.kwin.tests
Image {
source: "../48-apps-kwin.png"

View file

@ -3,10 +3,10 @@
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
import QtQuick 2.1
import QtQuick.Window 2.1
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.15
import QtQuick
import QtQuick.Window
import QtQuick.Layouts
import QtQuick.Controls
/*
* Small test application to test the difference between unmap and destroy.