Music Hub ..
A session-wide music playback service
Loading...
Searching...
No Matches
lomiri::MediaHubService::power::BatteryObserverPrivate Class Reference
Inheritance diagram for lomiri::MediaHubService::power::BatteryObserverPrivate:
Collaboration diagram for lomiri::MediaHubService::power::BatteryObserverPrivate:

Public Member Functions

 BatteryObserverPrivate (BatteryObserver *q)
Q_INVOKABLE void onPropertiesChanged (const QString &interface, const QVariantMap &changed, const QStringList &invalid)
void updateProperties (const QVariantMap &properties)

Detailed Description

Definition at line 37 of file battery_observer.cpp.

Constructor & Destructor Documentation

◆ BatteryObserverPrivate()

lomiri::MediaHubService::power::BatteryObserverPrivate::BatteryObserverPrivate ( BatteryObserver * q)
inline

Definition at line 53 of file battery_observer.cpp.

References onPropertiesChanged(), and updateProperties().

Here is the call graph for this function:

Member Function Documentation

◆ onPropertiesChanged()

Q_INVOKABLE void lomiri::MediaHubService::power::BatteryObserverPrivate::onPropertiesChanged ( const QString & interface,
const QVariantMap & changed,
const QStringList & invalid )
inline

Definition at line 85 of file battery_observer.cpp.

References updateProperties().

Referenced by BatteryObserverPrivate().

Here is the call graph for this function:

◆ updateProperties()

void lomiri::MediaHubService::power::BatteryObserverPrivate::updateProperties ( const QVariantMap & properties)
inline

Definition at line 95 of file battery_observer.cpp.

Referenced by BatteryObserverPrivate(), and onPropertiesChanged().


The documentation for this class was generated from the following file:
  • /build/media-hub-4.7~20260316060616.27~fbd9644+ubports26.04.1/src/service/power/battery_observer.cpp