mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-31 16:54:46 +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.core 2.0 as PlasmaCore;
|
||||||
import org.kde.plasma.components 2.0 as PlasmaComponents;
|
import org.kde.plasma.components 2.0 as PlasmaComponents;
|
||||||
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons;
|
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 {
|
PlasmaCore.Dialog {
|
||||||
id: dialog
|
id: dialog
|
||||||
|
|
@ -71,9 +71,9 @@ PlasmaCore.Dialog {
|
||||||
cacheBuffer: 9999
|
cacheBuffer: 9999
|
||||||
cellWidth: units.gridUnit * 20
|
cellWidth: units.gridUnit * 20
|
||||||
cellHeight: units.gridUnit * 20 // (view.width / view.height)
|
cellHeight: units.gridUnit * 20 // (view.width / view.height)
|
||||||
model: KWin.ClientModel {
|
model: KWinScripting.ClientModel {
|
||||||
id: clientModel
|
id: clientModel
|
||||||
exclusions: KWin.ClientModel.NotAcceptingFocusExclusion
|
exclusions: KWinScripting.ClientModel.NotAcceptingFocusExclusion
|
||||||
}
|
}
|
||||||
onMovingChanged: {
|
onMovingChanged: {
|
||||||
if (contentY < -view.height/2) {
|
if (contentY < -view.height/2) {
|
||||||
|
|
@ -96,7 +96,7 @@ PlasmaCore.Dialog {
|
||||||
onClicked: model.client.closeWindow()
|
onClicked: model.client.closeWindow()
|
||||||
visible: model.client.closeable
|
visible: model.client.closeable
|
||||||
}
|
}
|
||||||
KWin.ThumbnailItem {
|
KWinScripting.ThumbnailItem {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
//parentWindow: dialog.windowId
|
//parentWindow: dialog.windowId
|
||||||
client: model.client
|
client: model.client
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue