Port to PlasmaExtras.Highlight

Done automatically w/ qml-refactor-fairy
wilder-5.25
Janet Blackquill 4 years ago
parent c9dc9e2149
commit 10ae2a245e
  1. 3
      applets/clipboard/contents/ui/Menu.qml
  2. 5
      applets/devicenotifier/package/contents/ui/FullRepresentation.qml
  3. 4
      applets/systemtray/package/contents/ui/HiddenItemsView.qml
  4. 3
      lookandfeel/contents/runcommand/RunCommand.qml
  5. 3
      lookandfeel/contents/windowswitcher/WindowSwitcher.qml

@ -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 {}
}
/*

Loading…
Cancel
Save