Commit 9a8b98a6 authored by Nate Graham's avatar Nate Graham
Browse files

[kcms] Port away from PlasmaCore

Use Kirigami versions of these things in KCMs, instead of the PlasmaCore
versions which are intended for use in Plasma applets.
parent 63db1353
......@@ -52,7 +52,7 @@ QQC2.ScrollView {
source: model.icon
opacity: model.blocked ? 0.6 : 1.0
Behavior on opacity { NumberAnimation { duration: PlasmaCore.Units.shortDuration } }
Behavior on opacity { NumberAnimation { duration: Kirigami.Units.shortDuration } }
}
Kirigami.Icon {
......@@ -63,7 +63,7 @@ QQC2.ScrollView {
source: "emblem-unavailable"
opacity: model.blocked ? 1.0 : 0.0
Behavior on opacity { NumberAnimation { duration: PlasmaCore.Units.shortDuration } }
Behavior on opacity { NumberAnimation { duration: Kirigami.Units.shortDuration } }
}
QQC2.Label {
......@@ -77,7 +77,7 @@ QQC2.ScrollView {
wrapMode: Text.Wrap
opacity: model.blocked ? 0.6 : 1.0
Behavior on opacity { NumberAnimation { duration: PlasmaCore.Units.shortDuration } }
Behavior on opacity { NumberAnimation { duration: Kirigami.Units.shortDuration } }
}
MouseArea {
......
......@@ -24,8 +24,6 @@ import QtQuick.Window 2.2
import org.kde.kirigami 2.15 as Kirigami
import org.kde.kcm 1.3 as KCM
import org.kde.plasma.core 2.0 as PlasmaCore
QQC2.RadioButton {
id: delegate
......
......@@ -24,8 +24,6 @@ import QtQuick.Window 2.2
import org.kde.kirigami 2.5 as Kirigami
import org.kde.kcm 1.3 as KCM
import org.kde.plasma.core 2.0 as PlasmaCore
KCM.SimpleKCM {
id: root
......@@ -186,7 +184,7 @@ KCM.SimpleKCM {
Layout.minimumWidth: Kirigami.Units.gridUnit * 15
text: singleClick.checked ? i18n("Select by clicking on item's selection marker") : i18n("Open by double-clicking instead")
elide: Text.ElideRight
font: PlasmaCore.Theme.smallestFont
font: Kirigami.Theme.smallFont
}
Item {
......
......@@ -22,8 +22,6 @@ import QtQuick.Layouts 1.3
import org.kde.kirigami 2.5 as Kirigami
import org.kde.kcm 1.3 as KCM
import org.kde.plasma.core 2.0 as PlasmaCore
KCM.SimpleKCM {
id: root
......@@ -154,7 +152,7 @@ KCM.SimpleKCM {
Layout.minimumWidth: Kirigami.Units.gridUnit * 15
text: singleClick.checked ? i18n("Select by clicking on item's selection marker") : i18n("Open by double-clicking instead")
elide: Text.ElideRight
font: PlasmaCore.Theme.smallestFont
font: Kirigami.Theme.smallFont
}
Item {
......@@ -202,7 +200,7 @@ KCM.SimpleKCM {
visible: scrollbarLeftClickNavigatesByPage.checked
text: i18n("Middle-click to scroll to clicked location")
elide: Text.ElideRight
font: PlasmaCore.Theme.smallestFont
font: Kirigami.Theme.smallFont
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment