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:
parent
18a9b3b25a
commit
4148be0d27
55 changed files with 214 additions and 214 deletions
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.0;
|
||||
import org.kde.kwin 3.0;
|
||||
import QtQuick
|
||||
import org.kde.kwin
|
||||
|
||||
ScreenEdgeHandler {
|
||||
edge: ScreenEdgeHandler.LeftEdge
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.")
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import QtQuick 2.3
|
||||
import QtQuick
|
||||
|
||||
QtObject {
|
||||
property bool visible: true
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue