kwin/autotests/integration/scripting/scripts/screenedgetouch.qml
Martin Gräßlin 63b1138307 Add support for new touch screen edge actions to declarative KWin scripts
Summary:
This change introduces a new property mode in ScreenEdgeItem to switch
between Pointer and Touch mode. The touch mode interacts with the new
touch screen edge gestures through a QAction.

Test Plan: New test case added

Reviewers: #kwin, #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D5272
2017-04-07 16:17:48 +02:00

10 lines
198 B
QML

import QtQuick 2.0;
import org.kde.kwin 2.0;
ScreenEdgeItem {
edge: ScreenEdgeItem.LeftEdge
mode: ScreenEdgeItem.Touch
onActivated: {
workspace.slotToggleShowDesktop();
}
}