PlasmaCore.DataSource counterparts
This commit is contained in:
parent
81666d48ef
commit
26755c8d86
@ -20,6 +20,7 @@ import QtQuick 2.5
|
|||||||
import QtQml.Models 2.1
|
import QtQml.Models 2.1
|
||||||
|
|
||||||
import org.kde.plasma.core as PlasmaCore
|
import org.kde.plasma.core as PlasmaCore
|
||||||
|
import org.kde.plasma.plasma5support as Plasma5Support
|
||||||
import org.kde.kirigami as Kirigami
|
import org.kde.kirigami as Kirigami
|
||||||
import org.kde.kirigami 2.5 as Kirigami
|
import org.kde.kirigami 2.5 as Kirigami
|
||||||
|
|
||||||
@ -111,7 +112,7 @@ GridView {
|
|||||||
NumberAnimation { properties: "x,y"; easing.type: Easing.OutQuad }
|
NumberAnimation { properties: "x,y"; easing.type: Easing.OutQuad }
|
||||||
}
|
}
|
||||||
|
|
||||||
PlasmaCore.DataSource {
|
Plasma5Support.DataSource {
|
||||||
id: pmSource
|
id: pmSource
|
||||||
engine: "powermanagement"
|
engine: "powermanagement"
|
||||||
connectedSources: ["PowerDevil"]
|
connectedSources: ["PowerDevil"]
|
||||||
|
@ -23,6 +23,7 @@ import QtQuick 2.3
|
|||||||
import org.kde.plasma.plasmoid 2.0
|
import org.kde.plasma.plasmoid 2.0
|
||||||
import QtQuick.Layouts 1.1
|
import QtQuick.Layouts 1.1
|
||||||
import org.kde.plasma.core as PlasmaCore
|
import org.kde.plasma.core as PlasmaCore
|
||||||
|
import org.kde.plasma.plasma5support as Plasma5Support
|
||||||
import org.kde.kirigami as Kirigami
|
import org.kde.kirigami as Kirigami
|
||||||
import org.kde.plasma.components as PlasmaComponents
|
import org.kde.plasma.components as PlasmaComponents
|
||||||
import org.kde.plasma.extras as PlasmaExtras
|
import org.kde.plasma.extras as PlasmaExtras
|
||||||
@ -102,7 +103,7 @@ Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PlasmaCore.DataSource {
|
Plasma5Support.DataSource {
|
||||||
id: pmSource
|
id: pmSource
|
||||||
engine: "powermanagement"
|
engine: "powermanagement"
|
||||||
connectedSources: ["PowerDevil"]
|
connectedSources: ["PowerDevil"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user