Commit 10ae2a24 authored by Jan Blackquill's avatar Jan Blackquill 🌈
Browse files

Port to PlasmaExtras.Highlight

Done automatically w/ qml-refactor-fairy
parent c9dc9e21
Pipeline #146482 passed with stage
in 8 minutes and 30 seconds
......@@ -8,7 +8,6 @@ import QtQuick 2.15
import QtQml 2.15
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents // For Highlight
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.kirigami 2.12 as Kirigami
......@@ -37,7 +36,7 @@ PlasmaComponents3.ScrollView {
id: menuListView
focus: true
highlight: PlasmaComponents.Highlight { }
highlight: PlasmaExtras.Highlight { }
highlightMoveDuration: 0
highlightResizeDuration: 0
currentIndex: -1
......
......@@ -13,7 +13,6 @@ import QtQuick.Window 2.2
import QtQuick.Layouts 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents // For Highlight
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.extras 2.0 as PlasmaExtras
......@@ -70,7 +69,7 @@ PlasmaExtras.Representation {
// this item is reparented to a delegate that is showing a message to draw focus to it
PlasmaComponents.Highlight {
PlasmaExtras.Highlight {
id: messageHighlight
visible: false
......@@ -131,7 +130,7 @@ PlasmaExtras.Representation {
delegate: DeviceItem {
udi: DataEngineSource
}
highlight: PlasmaComponents.Highlight { }
highlight: PlasmaExtras.Highlight { }
highlightMoveDuration: 0
highlightResizeDuration: 0
......
......@@ -9,10 +9,10 @@
import QtQuick 2.15
import QtQuick.Layouts 1.1
import org.kde.plasma.core 2.1 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents // For Highlight
import org.kde.plasma.components 3.0 as PlasmaComponents3
import "items"
import org.kde.plasma.extras 2.0 as PlasmaExtras
PlasmaComponents3.ScrollView {
id: hiddenTasksView
......@@ -39,7 +39,7 @@ PlasmaComponents3.ScrollView {
cellHeight: Math.floor(hiddenTasks.height / hiddenTasks.rows)
currentIndex: -1
highlight: PlasmaComponents.Highlight {}
highlight: PlasmaExtras.Highlight {}
highlightMoveDuration: 0
pixelAligned: true
......
......@@ -8,7 +8,6 @@ import QtQuick 2.6
import QtQuick.Layouts 1.1
import QtQuick.Window 2.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents // For Highlight
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.milou 0.1 as Milou
......@@ -309,7 +308,7 @@ ColumnLayout {
ListView {
id: listView // needs this id so the delegate can access it
keyNavigationWraps: true
highlight: PlasmaComponents.Highlight {}
highlight: PlasmaExtras.Highlight {}
highlightMoveDuration: 0
activeFocusOnTab: true
model: []
......
......@@ -8,7 +8,6 @@
import QtQuick 2.0
import QtQuick.Layouts 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents // for Highlight
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.kwin 2.0 as KWin
......@@ -112,7 +111,7 @@ KWin.Switcher {
}
}
highlight: PlasmaComponents.Highlight {}
highlight: PlasmaExtras.Highlight {}
}
/*
......
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