watch the tabletMode from KWin

Authored by mart on Apr 17 2018, 11:52 AM.

Description

watch the tabletMode from KWin

Summary:
Add api in the C++ library that watches the tablet mode property exposed from
KWin. use dbus, but only on linux,bsd etc, not on Android, Windows etc.
connect it to Settings.isMobile which was already used for it (even tough
it introduces a naming inconsistence, but needed for retrocompatibility)

Test Plan: tested to switch on the fly on Wayland with the kwin tablet mode sensor working

Reviewers: Plasma, Kirigami, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: ngraham, plasma-devel

Tags: Plasma, Kirigami

Differential Revision: https://phabricator.kde.org/D10112

Details

Committed
martApr 17 2018, 11:54 AM
Reviewer
Plasma
Differential Revision
D10112: watch the tabletMode from KWin
Parents
R169:564b6805004c: on desktop mode show actions on hover
Branches
Unknown
Tags
Unknown