shift-shell/quicksettings/screenrotation/dbus/org.kde.KScreen.xml
Luca Weiss f8aeffa56d quicksettings/screenrotation: hide when not available
On devices where auto-rotate is not (yet) available, make sure not to
show an auto-rotate toggle with no functionality.
2023-02-10 06:28:59 +00:00

31 lines
1.2 KiB
XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<!--
- SPDX-FileCopyrightText: 2020-2022 Luca Weiss <luca@z3ntu.xyz>
- SPDX-FileCopyrightText: 2020 Bhushan Shah <bshah@kde.org>
- SPDX-FileCopyrightText: 2018 Kai Uwe Broulik <kde@privat.broulik.de>
- SPDX-FileCopyrightText: 2013-2014 Daniel Vrátil <dvratil@kde.org>
- SPDX-License-Identifier: GPL-2.0-or-later
-->
<node>
<interface name="org.kde.KScreen">
<method name="applyLayoutPreset">
<arg type="s" name="presetName" direction="in" />
</method>
<method name="getAutoRotate">
<arg type="b" direction="out" />
</method>
<method name="setAutoRotate">
<arg type="b" name="value" direction="in" />
</method>
<method name="isAutoRotateAvailable">
<arg type="b" direction="out" />
</method>
<signal name="outputConnected">
<arg type="s" name="outputName" direction="out" />
</signal>
<signal name="unknownOutputConnected">
<arg type="s" name="outputName" direction="out" />
</signal>
</interface>
</node>