kwin/autotests/integration/scripting/scripts/screenedgetouch.qml
Vlad Zahorodnii 70a063a34c scripting: Rename ScreenEdgeItem to ScreenEdgeHandler
ScreenEdgeItem is not an item, so rename it to something else. "Handler"
is inspired by QtQuick, e.g. TapHandler.
2023-02-17 13:19:29 +02:00

10 lines
207 B
QML

import QtQuick 2.0;
import org.kde.kwin 3.0;
ScreenEdgeHandler {
edge: ScreenEdgeHandler.LeftEdge
mode: ScreenEdgeHandler.Touch
onActivated: {
Workspace.slotToggleShowDesktop();
}
}