diff --git a/package/contents/ui/Breadcrumb.qml b/package/contents/ui/Breadcrumb.qml index 6323168..2fbb146 100644 --- a/package/contents/ui/Breadcrumb.qml +++ b/package/contents/ui/Breadcrumb.qml @@ -17,6 +17,7 @@ */ import QtQuick 2.0 import org.kde.plasma.core as PlasmaCore +import org.kde.ksvg as KSvg import org.kde.kirigami as Kirigami import org.kde.plasma.components as PlasmaComponents @@ -58,7 +59,7 @@ Item { } } - PlasmaCore.SvgItem { + KSvg.SvgItem { id: arrowSvg anchors.left: parent.left @@ -66,7 +67,7 @@ Item { height: crumbRoot.height / 2 width: visible ? height : 0 - svg: PlasmaCore.Svg { + svg: KSvg.Svg { imagePath: "icons/go" } elementId: LayoutMirroring.enabled ? "go-previous" : "go-next" diff --git a/package/contents/ui/FullRepresentation.qml b/package/contents/ui/FullRepresentation.qml index 772742a..fdb6c63 100644 --- a/package/contents/ui/FullRepresentation.qml +++ b/package/contents/ui/FullRepresentation.qml @@ -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.ksvg as KSvg import org.kde.plasma.plasma5support as Plasma5Support import org.kde.kirigami as Kirigami import org.kde.plasma.components as PlasmaComponents @@ -109,7 +110,7 @@ Item { connectedSources: ["PowerDevil"] } - PlasmaCore.Svg { + KSvg.Svg { id: arrowsSvg imagePath: "widgets/arrows" @@ -436,9 +437,9 @@ Item { } } // tabBar - PlasmaCore.SvgItem { + KSvg.SvgItem { id: tabBarSeparator - svg: PlasmaCore.Svg { + svg: KSvg.Svg { id: tabBarSeparatorLine imagePath: "widgets/line" } diff --git a/package/contents/ui/KickoffItem.qml b/package/contents/ui/KickoffItem.qml index 2d20519..1d2280e 100644 --- a/package/contents/ui/KickoffItem.qml +++ b/package/contents/ui/KickoffItem.qml @@ -20,6 +20,7 @@ */ import QtQuick 2.0 import org.kde.plasma.core as PlasmaCore +import org.kde.ksvg as KSvg import org.kde.kirigami as Kirigami import org.kde.plasma.components as PlasmaComponents import org.kde.draganddrop 2.0 @@ -150,7 +151,7 @@ Item { horizontalAlignment: Text.AlignLeft } - PlasmaCore.SvgItem { + KSvg.SvgItem { id: arrow anchors { diff --git a/package/contents/ui/main.qml b/package/contents/ui/main.qml index 07a65d2..bb2e492 100644 --- a/package/contents/ui/main.qml +++ b/package/contents/ui/main.qml @@ -43,7 +43,7 @@ PlasmoidItem { Plasmoid.switchWidth: Kirigami.Units.gridUnit * 20 Plasmoid.switchHeight: Kirigami.Units.gridUnit * 30 - Plasmoid.fullRepresentation: FullRepresentation {} + Plasmoid.icon: plasmoid.configuration.icon