63b1138307
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
10 lines
198 B
QML
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();
|
|
}
|
|
}
|