PlasmaCore.DataSource counterparts

This commit is contained in:
Sam Hadow 2024-03-12 23:46:23 +01:00
parent 81666d48ef
commit 26755c8d86
2 changed files with 4 additions and 2 deletions

View File

@ -20,6 +20,7 @@ import QtQuick 2.5
import QtQml.Models 2.1
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.plasma5support as Plasma5Support
import org.kde.kirigami as Kirigami
import org.kde.kirigami 2.5 as Kirigami
@ -111,7 +112,7 @@ GridView {
NumberAnimation { properties: "x,y"; easing.type: Easing.OutQuad }
}
PlasmaCore.DataSource {
Plasma5Support.DataSource {
id: pmSource
engine: "powermanagement"
connectedSources: ["PowerDevil"]

View File

@ -23,6 +23,7 @@ import QtQuick 2.3
import org.kde.plasma.plasmoid 2.0
import QtQuick.Layouts 1.1
import org.kde.plasma.core as PlasmaCore
import org.kde.plasma.plasma5support as Plasma5Support
import org.kde.kirigami as Kirigami
import org.kde.plasma.components as PlasmaComponents
import org.kde.plasma.extras as PlasmaExtras
@ -102,7 +103,7 @@ Item {
}
}
PlasmaCore.DataSource {
Plasma5Support.DataSource {
id: pmSource
engine: "powermanagement"
connectedSources: ["PowerDevil"]