Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
c30d8d65
Commit
c30d8d65
authored
Mar 07, 2022
by
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
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
applets/kicker/package/contents/ui/DashboardRepresentation.qml
View file @
c30d8d65
...
...
@@ -967,7 +967,7 @@ Kicker.DashboardWindow {
}
}
highlight
:
Plasma
Component
s.Highlight
{
highlight
:
Plasma
Extra
s.Highlight
{
anchors
{
top
:
filterList
.
currentItem
?
filterList
.
currentItem
.
top
:
undefined
left
:
filterList
.
currentItem
?
filterList
.
currentItem
.
left
:
undefined
...
...
applets/kicker/package/contents/ui/ItemGridView.qml
View file @
c30d8d65
...
...
@@ -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
Plasma
Component
s.Highlight
{
Plasma
Extra
s.Highlight
{
visible
:
gridView
.
currentItem
&&
!
isDropPlaceHolder
anchors.fill
:
parent
...
...
applets/kicker/package/contents/ui/ItemListView.qml
View file @
c30d8d65
...
...
@@ -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
:
Plasma
Component
s.Highlight
{
highlight
:
Plasma
Extra
s.Highlight
{
visible
:
listView
.
currentItem
&&
!
listView
.
currentItem
.
isSeparator
}
...
...
applets/taskmanager/package/contents/ui/ToolTipInstance.qml
View file @
c30d8d65
...
...
@@ -158,7 +158,7 @@ ColumnLayout {
readonly
property
var
winId
:
toolTipDelegate
.
isWin
&&
toolTipDelegate
.
windows
[
flatIndex
]
!==
undefined
?
toolTipDelegate
.
windows
[
flatIndex
]
:
0
// There's no PlasmaComponents3 version
Plasma
Component
s.Highlight
{
Plasma
Extra
s.Highlight
{
anchors.fill
:
hoverHandler
visible
:
hoverHandler
.
item
?
hoverHandler
.
item
.
containsMouse
:
false
pressed
:
hoverHandler
.
item
?
hoverHandler
.
item
.
containsPress
:
false
...
...
applets/window-list/contents/ui/main.qml
View file @
c30d8d65
...
...
@@ -100,7 +100,7 @@ FocusScope {
spacing
:
0
keyNavigationWraps
:
true
highlight
:
Plasma
Component
s.Highlight
{}
highlight
:
Plasma
Extra
s.Highlight
{}
highlightMoveDuration
:
0
onOverflowingChanged
:
{
...
...
desktoppackage/contents/activitymanager/TaskDropArea.qml
View file @
c30d8d65
...
...
@@ -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
Plasma
Component
s.Highlight
{
Plasma
Extra
s.Highlight
{
id
:
dropHighlight
anchors
{
fill
:
parent
...
...
desktoppackage/contents/explorer/AppletAlternatives.qml
View file @
c30d8d65
...
...
@@ -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
:
Plasma
Component
s.Highlight
{
highlight
:
Plasma
Extra
s.Highlight
{
id
:
highlight
}
highlightMoveDuration
:
0
...
...
desktoppackage/contents/explorer/WidgetExplorer.qml
View file @
c30d8d65
...
...
@@ -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
:
P
C2
.Highlight
{}
highlight
:
P
lasmaExtras
.Highlight
{}
highlightMoveDuration
:
0
//highlightResizeDuration: 0
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment