shift-shell/components/screenbrightnessplugin/dbus/org.kde.Solid.PowerManagement.Actions.BrightnessControl.xml
Devin Lin c7e5003596 screenbrightnessplugin: Extract from initialstart and use in shell
This is partially an emergency fix also for
https://invent.kde.org/plasma/plasma-mobile/-/issues/404, which was
potentially introduced by https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/582

This MR extracts the screen brightness implementation from initialstart
to a QML plugin, and also ports the action drawer brightness slider
implementation to it. This avoids importing the powerdevil screen
brightness plugin on the lockscreen, which apparently has a race
condition that causes it to sometimes segfault.
2024-10-08 22:47:30 -07:00

33 lines
995 B
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: 2015 Kai Uwe Broulik <kbroulik@kde.org>
- SPDX-License-Identifier: GPL-2.0-or-later
-->
<node>
<interface name="org.kde.Solid.PowerManagement.Actions.BrightnessControl">
<method name="setBrightness">
<arg type="i" direction="in" />
</method>
<method name="setBrightnessSilent">
<arg type="i" direction="in" />
</method>
<method name="brightness">
<arg type="i" direction="out" />
</method>
<method name="brightnessMax">
<arg type="i" direction="out" />
</method>
<signal name="brightnessChanged">
<arg type="i" direction="out" />
</signal>
<signal name="brightnessMaxChanged">
<arg type="i" direction="out" />
</signal>
<method name="brightnessSteps">
<arg type="i" direction="out" />
</method>
</interface>
</node>