Plasma5Support
powermanagementengine.h
71 inline void createPowerManagementDBusMethodCallAndNotifyChanged(const QString &method, std::function<void(ReplyType)> &&callback);
74 inline void createPowerProfileDBusMethodCallAndNotifyChanged(const QString &method, std::function<void(ReplyType)> &&callback);
This class provides a generic API for write access to settings or services.
Definition service.h:78
This class provides runtime information about the battery and AC status for use in power management P...
Definition powermanagementengine.h:28
QStringList sources() const override
Definition powermanagementengine.cpp:204
bool sourceRequestEvent(const QString &name) override
When a source that does not currently exist is requested by the consumer, this method is called to gi...
Definition powermanagementengine.cpp:209
bool updateSourceEvent(const QString &source) override
Called by internal updating mechanisms to trigger the engine to refresh the data contained in a given...
Definition powermanagementengine.cpp:377
Plasma5Support::Service * serviceForSource(const QString &source) override
Definition powermanagementengine.cpp:386
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.