diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-04-13 00:16:52 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2016-04-13 00:16:52 +0200 |
commit | c149a3cd88c5f32448e836e5b53d433554474684 (patch) | |
tree | 0594a405289be2c4a14bae6d128406bca5455c2f | |
parent | 53d3bc5fae42612984f7e1c606dd6fc7ef1ccd2c (diff) | |
download | kube-c149a3cd88c5f32448e836e5b53d433554474684.tar.gz kube-c149a3cd88c5f32448e836e5b53d433554474684.zip |
port PlasmaCore.IconItem to Kirigami.Icon
-rw-r--r-- | components/package/contents/ui/FolderListView.qml | 6 | ||||
-rw-r--r-- | components/package/contents/ui/Settings.qml | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/components/package/contents/ui/FolderListView.qml b/components/package/contents/ui/FolderListView.qml index f660846d..e4a6d9ab 100644 --- a/components/package/contents/ui/FolderListView.qml +++ b/components/package/contents/ui/FolderListView.qml | |||
@@ -20,7 +20,7 @@ import QtQuick.Controls 1.4 | |||
20 | import QtQuick.Controls.Styles 1.4 | 20 | import QtQuick.Controls.Styles 1.4 |
21 | import QtQuick.Layouts 1.1 | 21 | import QtQuick.Layouts 1.1 |
22 | 22 | ||
23 | import org.kde.plasma.core 2.0 as PlasmaCore | 23 | import org.kde.kirigami 1.0 as Kirigami |
24 | import org.kde.plasma.components 2.0 as PlasmaComponents | 24 | import org.kde.plasma.components 2.0 as PlasmaComponents |
25 | 25 | ||
26 | import org.kube.framework.domain 1.0 as KubeFramework | 26 | import org.kube.framework.domain 1.0 as KubeFramework |
@@ -86,7 +86,7 @@ Item { | |||
86 | 86 | ||
87 | color: "#333" | 87 | color: "#333" |
88 | border.color: Qt.lighter(color, 1.2) | 88 | border.color: Qt.lighter(color, 1.2) |
89 | PlasmaCore.IconItem { | 89 | Kirigami.Icon { |
90 | id: iconItem | 90 | id: iconItem |
91 | anchors.left: parent.left | 91 | anchors.left: parent.left |
92 | anchors.verticalCenter: parent.verticalCenter | 92 | anchors.verticalCenter: parent.verticalCenter |
@@ -155,7 +155,7 @@ Item { | |||
155 | border.width: 1 | 155 | border.width: 1 |
156 | border.color: "lightgrey" | 156 | border.color: "lightgrey" |
157 | color: styleData.selected ? colorPalette.highlight : colorPalette.button | 157 | color: styleData.selected ? colorPalette.highlight : colorPalette.button |
158 | PlasmaCore.IconItem { | 158 | Kirigami.Icon { |
159 | id: iconItem | 159 | id: iconItem |
160 | anchors { | 160 | anchors { |
161 | verticalCenter: parent.verticalCenter | 161 | verticalCenter: parent.verticalCenter |
diff --git a/components/package/contents/ui/Settings.qml b/components/package/contents/ui/Settings.qml index fa646372..2ee6c859 100644 --- a/components/package/contents/ui/Settings.qml +++ b/components/package/contents/ui/Settings.qml | |||
@@ -19,7 +19,7 @@ import QtQuick 2.4 | |||
19 | import QtQuick.Controls 1.4 | 19 | import QtQuick.Controls 1.4 |
20 | import QtQuick.Layouts 1.1 | 20 | import QtQuick.Layouts 1.1 |
21 | 21 | ||
22 | import org.kde.plasma.core 2.0 as PlasmaCore | 22 | import org.kde.kirigami 1.0 as Kirigami |
23 | import org.kde.plasma.components 2.0 as PlasmaComponents | 23 | import org.kde.plasma.components 2.0 as PlasmaComponents |
24 | 24 | ||
25 | import org.kube.framework.settings 1.0 as KubeSettings | 25 | import org.kube.framework.settings 1.0 as KubeSettings |
@@ -114,7 +114,7 @@ Rectangle { | |||
114 | RowLayout { | 114 | RowLayout { |
115 | anchors.fill: parent | 115 | anchors.fill: parent |
116 | 116 | ||
117 | PlasmaCore.IconItem { | 117 | Kirigami.Icon { |
118 | source: accountFactory.icon | 118 | source: accountFactory.icon |
119 | } | 119 | } |
120 | 120 | ||