From fe3ffce606d0dccf3430647e5b903879d32b53ce Mon Sep 17 00:00:00 2001 From: Mariusz Libera Date: Sat, 8 Feb 2025 00:43:55 +0100 Subject: [PATCH] replace PlasmaComponents with QtQuick.Controls in config UI files --- package/contents/ui/configAccounts.qml | 8 ++++---- package/contents/ui/configGeneral.qml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package/contents/ui/configAccounts.qml b/package/contents/ui/configAccounts.qml index 7493100..0675990 100644 --- a/package/contents/ui/configAccounts.qml +++ b/package/contents/ui/configAccounts.qml @@ -19,7 +19,7 @@ import QtQuick import QtQuick.Layouts -import org.kde.plasma.components as PlasmaComponents +import QtQuick.Controls import org.kde.kcmutils // KCMLauncher import org.kde.plasma.private.gmailfeed @@ -45,11 +45,11 @@ SimpleKCM { RowLayout { - PlasmaComponents.Label { + Label { text: i18n("Current account: ") } - PlasmaComponents.ComboBox { + ComboBox { id: comboBox model: accountsModel @@ -61,7 +61,7 @@ SimpleKCM { Layout.fillWidth: true } - PlasmaComponents.Button { + Button { icon.name: "applications-internet" text: i18n("Manage accounts...") diff --git a/package/contents/ui/configGeneral.qml b/package/contents/ui/configGeneral.qml index 1cf641a..0e4b4d2 100644 --- a/package/contents/ui/configGeneral.qml +++ b/package/contents/ui/configGeneral.qml @@ -19,7 +19,7 @@ import QtQuick import QtQuick.Layouts -import org.kde.plasma.components as PlasmaComponents +import QtQuick.Controls import org.kde.kcmutils SimpleKCM { @@ -28,11 +28,11 @@ SimpleKCM { property alias cfg_pollinterval: spinbox.value RowLayout { - PlasmaComponents.Label { + Label { text: i18n("Polling interval: ") } - PlasmaComponents.SpinBox { + SpinBox { id: spinbox from: 1 to: 90