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

Public Slots

void onPropertiesChanged (const QString &interface, const QVariantMap &changed, const QStringList &invalidated)
void onVideoDimensionChanged (quint32 height, quint32 width)
void onError (quint16 code)

Public Member Functions

 DBusPlayer (const QDBusConnection &conn, const QString &path, PlayerPrivate *d)

Detailed Description

Definition at line 60 of file player.cpp.

Constructor & Destructor Documentation

◆ DBusPlayer()

DBusPlayer::DBusPlayer ( const QDBusConnection & conn,
const QString & path,
PlayerPrivate * d )

Definition at line 165 of file player.cpp.

References MEDIAHUB_SERVICE_NAME, and MPRIS_PLAYER_INTERFACE.

Member Function Documentation

◆ onError

void DBusPlayer::onError ( quint16 code)
slot

Definition at line 193 of file player.cpp.

◆ onPropertiesChanged

void DBusPlayer::onPropertiesChanged ( const QString & interface,
const QVariantMap & changed,
const QStringList & invalidated )
slot

Definition at line 177 of file player.cpp.

References MPRIS_PLAYER_INTERFACE.

◆ onVideoDimensionChanged

void DBusPlayer::onVideoDimensionChanged ( quint32 height,
quint32 width )
slot

Definition at line 188 of file player.cpp.


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