mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
[kwinmultitasking] Change namespace name to not conflict with object name KWin
This commit is contained in:
parent
0e1840cf8a
commit
87bd6285c7
1 changed files with 4 additions and 4 deletions
|
|
@ -22,7 +22,7 @@ import QtQuick.Window 2.0;
|
|||
import org.kde.plasma.core 2.0 as PlasmaCore;
|
||||
import org.kde.plasma.components 2.0 as PlasmaComponents;
|
||||
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons;
|
||||
import org.kde.kwin 2.0 as KWin;
|
||||
import org.kde.kwin 2.0 as KWinScripting;
|
||||
|
||||
PlasmaCore.Dialog {
|
||||
id: dialog
|
||||
|
|
@ -71,9 +71,9 @@ PlasmaCore.Dialog {
|
|||
cacheBuffer: 9999
|
||||
cellWidth: units.gridUnit * 20
|
||||
cellHeight: units.gridUnit * 20 // (view.width / view.height)
|
||||
model: KWin.ClientModel {
|
||||
model: KWinScripting.ClientModel {
|
||||
id: clientModel
|
||||
exclusions: KWin.ClientModel.NotAcceptingFocusExclusion
|
||||
exclusions: KWinScripting.ClientModel.NotAcceptingFocusExclusion
|
||||
}
|
||||
onMovingChanged: {
|
||||
if (contentY < -view.height/2) {
|
||||
|
|
@ -96,7 +96,7 @@ PlasmaCore.Dialog {
|
|||
onClicked: model.client.closeWindow()
|
||||
visible: model.client.closeable
|
||||
}
|
||||
KWin.ThumbnailItem {
|
||||
KWinScripting.ThumbnailItem {
|
||||
anchors.fill: parent
|
||||
//parentWindow: dialog.windowId
|
||||
client: model.client
|
||||
|
|
|
|||
Loading…
Reference in a new issue