Commit 427d45b8 authored by Nate Graham's avatar Nate Graham
Browse files

Port to singleton Units

parent 34b81ccb
......@@ -143,7 +143,7 @@ Item {
}
}
DragHandler {
property int magnitude: units.gridUnit
property int magnitude: PlasmaCore.Units.gridUnit
target: null
xAxis.enabled: panel.location == PlasmaCore.Types.LeftEdge || panel.location == PlasmaCore.Types.RightEdge
yAxis.enabled: panel.location == PlasmaCore.Types.TopEdge || panel.location == PlasmaCore.Types.BottomEdge
......
......@@ -115,7 +115,7 @@ Item {
properties: "opacity"
from: 1
to: 0
duration: units.veryLongDuration
duration: PlasmaCore.Units.veryLongDuration
easing.type: Easing.InOutQuad
}
ScriptAction {
......@@ -141,7 +141,7 @@ Item {
properties: "opacity"
from: 0
to: 1
duration: units.veryLongDuration
duration: PlasmaCore.Units.veryLongDuration
easing.type: Easing.InOutQuad
}
ScriptAction {
......
......@@ -79,7 +79,7 @@ Item {
Plasmoid.compactRepresentation: PlasmaCore.ToolTipArea {
id: toolTip
Layout.minimumWidth: units.iconSizes.small
Layout.minimumWidth: PlasmaCore.Units.iconSizes.small
Layout.minimumHeight: Layout.minimumWidth
mainText: plasmoid.title
......
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