Commit c30d8d65 authored by Jan Blackquill's avatar Jan Blackquill 🌈
Browse files

Port to PlasmaExtras.Highlight

Done automatically w/ qml-refactor-fairy
parent ca45a14e
Pipeline #146483 passed with stage
in 5 minutes and 16 seconds
......@@ -967,7 +967,7 @@ Kicker.DashboardWindow {
}
}
highlight: PlasmaComponents.Highlight {
highlight: PlasmaExtras.Highlight {
anchors {
top: filterList.currentItem ? filterList.currentItem.top : undefined
left: filterList.currentItem ? filterList.currentItem.left : undefined
......
......@@ -8,7 +8,6 @@ import QtQuick 2.15
import org.kde.draganddrop 2.0
import org.kde.kquickcontrolsaddons 2.0
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.extras 2.0 as PlasmaExtras
......@@ -236,7 +235,7 @@ FocusScope {
highlight: Item {
property bool isDropPlaceHolder: "dropPlaceholderIndex" in itemGrid.model && itemGrid.currentIndex === itemGrid.model.dropPlaceholderIndex
PlasmaComponents.Highlight {
PlasmaExtras.Highlight {
visible: gridView.currentItem && !isDropPlaceHolder
anchors.fill: parent
......
......@@ -7,7 +7,6 @@
import QtQuick 2.15
import org.kde.kquickcontrolsaddons 2.0
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.extras 2.0 as PlasmaExtras
......@@ -140,7 +139,7 @@ FocusScope {
}
}
highlight: PlasmaComponents.Highlight {
highlight: PlasmaExtras.Highlight {
visible: listView.currentItem && !listView.currentItem.isSeparator
}
......
......@@ -158,7 +158,7 @@ ColumnLayout {
readonly property var winId: toolTipDelegate.isWin && toolTipDelegate.windows[flatIndex] !== undefined ? toolTipDelegate.windows[flatIndex] : 0
// There's no PlasmaComponents3 version
PlasmaComponents.Highlight {
PlasmaExtras.Highlight {
anchors.fill: hoverHandler
visible: hoverHandler.item ? hoverHandler.item.containsMouse : false
pressed: hoverHandler.item ? hoverHandler.item.containsPress : false
......
......@@ -100,7 +100,7 @@ FocusScope {
spacing: 0
keyNavigationWraps: true
highlight: PlasmaComponents.Highlight {}
highlight: PlasmaExtras.Highlight {}
highlightMoveDuration: 0
onOverflowingChanged: {
......
......@@ -7,9 +7,9 @@
import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.draganddrop 2.0 as DND
import org.kde.plasma.extras 2.0 as PlasmaExtras
DND.DropArea {
id: root
......@@ -25,7 +25,7 @@ DND.DropArea {
property bool isHovered: false
property bool actionVisible: false
PlasmaComponents.Highlight {
PlasmaExtras.Highlight {
id: dropHighlight
anchors {
fill: parent
......
......@@ -9,7 +9,6 @@ import QtQuick.Controls 2.5 as QQC2
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
......@@ -92,7 +91,7 @@ PlasmaCore.Dialog {
id: mainList
model: widgetExplorer.widgetsModel
boundsBehavior: Flickable.StopAtBounds
highlight: PlasmaComponents.Highlight {
highlight: PlasmaExtras.Highlight {
id: highlight
}
highlightMoveDuration : 0
......
......@@ -7,7 +7,7 @@
import QtQuick 2.7
import QtQuick.Controls 2.5 as QQC2
import org.kde.plasma.components 2.0 as PC2 // for DialogStatus, ModelCOntextMenu, and Highlight
import org.kde.plasma.components 2.0 as PC2 // for DialogStatus, ModelCOntextMenu
import org.kde.plasma.components 3.0 as PC3
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.extras 2.0 as PlasmaExtras
......@@ -270,7 +270,7 @@ PC3.Page {
cellHeight: cellWidth + PlasmaCore.Units.gridUnit * 4 + PlasmaCore.Units.smallSpacing * 2
delegate: AppletDelegate {}
highlight: PC2.Highlight {}
highlight: PlasmaExtras.Highlight {}
highlightMoveDuration: 0
//highlightResizeDuration: 0
......
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