diff --git a/applets/digital-clock/package/contents/ui/CalendarView.qml b/applets/digital-clock/package/contents/ui/CalendarView.qml index f9337a060..d1db0132e 100644 --- a/applets/digital-clock/package/contents/ui/CalendarView.qml +++ b/applets/digital-clock/package/contents/ui/CalendarView.qml @@ -518,10 +518,10 @@ PlasmaExtras.Representation { } PlasmaComponents3.ToolButton { - visible: KCMShell.authorize("clock.desktop").length > 0 + visible: KCMShell.authorize("kcm_clock.desktop").length > 0 text: i18n("Switch…") icon.name: "preferences-system-time" - onClicked: KCMShell.openSystemSettings("clock") + onClicked: KCMShell.openSystemSettings("kcm_clock") PlasmaComponents3.ToolTip { text: i18n("Switch to another timezone") diff --git a/applets/digital-clock/package/contents/ui/configAppearance.qml b/applets/digital-clock/package/contents/ui/configAppearance.qml index aa0bb797b..a3ef91421 100644 --- a/applets/digital-clock/package/contents/ui/configAppearance.qml +++ b/applets/digital-clock/package/contents/ui/configAppearance.qml @@ -63,7 +63,7 @@ QtLayouts.ColumnLayout { Kirigami.FormLayout { QtLayouts.Layout.fillWidth: true - + QtLayouts.RowLayout { Kirigami.FormData.label: i18n("Information:") @@ -71,7 +71,7 @@ QtLayouts.ColumnLayout { id: showDate text: i18n("Show date") } - + QtControls.ComboBox { id: dateDisplayFormat enabled: showDate.checked @@ -146,10 +146,10 @@ QtLayouts.ColumnLayout { } QtControls.Button { - visible: KCMShell.authorize("formats.desktop").length > 0 + visible: KCMShell.authorize("kcm_formats.desktop").length > 0 text: i18n("Change Regional Settings…") icon.name: "preferences-desktop-locale" - onClicked: KCMShell.openSystemSettings("formats") + onClicked: KCMShell.openSystemSettings("kcm_formats") } } diff --git a/applets/digital-clock/package/contents/ui/configTimeZones.qml b/applets/digital-clock/package/contents/ui/configTimeZones.qml index ccb8fe87e..c5f74747f 100644 --- a/applets/digital-clock/package/contents/ui/configTimeZones.qml +++ b/applets/digital-clock/package/contents/ui/configTimeZones.qml @@ -95,10 +95,10 @@ ColumnLayout { trailing: RowLayout { QQC2.Button { - visible: model.isLocalTimeZone && KCMShell.authorize("clock.desktop").length > 0 + visible: model.isLocalTimeZone && KCMShell.authorize("kcm_clock.desktop").length > 0 text: i18n("Switch Local Time Zone…") icon.name: "preferences-system-time" - onClicked: KCMShell.openSystemSettings("clock") + onClicked: KCMShell.openSystemSettings("kcm_clock") } QQC2.Button { visible: !model.isLocalTimeZone && configuredTimezoneList.count > 1 diff --git a/applets/digital-clock/package/contents/ui/main.qml b/applets/digital-clock/package/contents/ui/main.qml index dc9a51d31..3a6fbe670 100644 --- a/applets/digital-clock/package/contents/ui/main.qml +++ b/applets/digital-clock/package/contents/ui/main.qml @@ -110,11 +110,11 @@ Item { } function action_clockkcm() { - KCMShell.openSystemSettings("clock"); + KCMShell.openSystemSettings("kcm_clock"); } function action_formatskcm() { - KCMShell.openSystemSettings("formats"); + KCMShell.openSystemSettings("kcm_formats"); } Component.onCompleted: { @@ -122,10 +122,10 @@ Item { ClipboardMenu.setupMenu(plasmoid.action("clipboard")); root.initTimezones(); - if (KCMShell.authorize("clock.desktop").length > 0) { + if (KCMShell.authorize("kcm_clock.desktop").length > 0) { plasmoid.setAction("clockkcm", i18n("Adjust Date and Time…"), "preferences-system-time"); } - if (KCMShell.authorize("formats.desktop").length > 0) { + if (KCMShell.authorize("kcm_formats.desktop").length > 0) { plasmoid.setAction("formatskcm", i18n("Set Time Format…")); }