Music Hub ..
A session-wide music playback service
Loading...
Searching...
No Matches
lomiri::MediaHubService::TrackListSkeleton Class Reference

#include <track_list_skeleton.h>

Inheritance diagram for lomiri::MediaHubService::TrackListSkeleton:
Collaboration diagram for lomiri::MediaHubService::TrackListSkeleton:

Public Slots

QMap< QString, QString > GetTracksMetadata (const QString &id)
void AddTrack (const QString &uri, const QString &after, bool makeCurrent)
void RemoveTrack (const QString &id)
void GoTo (const QString &id)
QString GetTracksUri (const QString &id)
void AddTracks (const QStringList &uris, const QString &after)
void MoveTrack (const QString &id, const QString &to)
void Reset ()

Signals

Q_SCRIPTABLE void TrackListReplaced (const QStringList &tracks, const QString &currentTrack)
Q_SCRIPTABLE void TrackAdded (const QString &id)
Q_SCRIPTABLE void TrackRemoved (const QString &id)
Q_SCRIPTABLE void TrackMetadataChanged (const QVariantMap &metadata, const QDBusObjectPath &path)
Q_SCRIPTABLE void TracksAdded (const QStringList &trackURIs)
Q_SCRIPTABLE void TrackMoved (const QString &id, const QString &to)
Q_SCRIPTABLE void TrackChanged (const QString &id)
Q_SCRIPTABLE void TrackListReset ()

Public Member Functions

 TrackListSkeleton (const QDBusConnection &bus, const lomiri::MediaHubService::apparmor::lomiri::RequestContextResolver::Ptr &request_context_resolver, const lomiri::MediaHubService::apparmor::lomiri::RequestAuthenticator::Ptr &request_authenticator, TrackListImplementation *impl, QObject *parent=nullptr)
 ~TrackListSkeleton ()
QStringList tracks () const
bool canEditTracks () const

Properties

QStringList Tracks
bool CanEditTracks

Detailed Description

Definition at line 44 of file track_list_skeleton.h.

Constructor & Destructor Documentation

◆ TrackListSkeleton()

◆ ~TrackListSkeleton()

lomiri::MediaHubService::TrackListSkeleton::~TrackListSkeleton ( )

Definition at line 114 of file track_list_skeleton.cpp.

Member Function Documentation

◆ AddTrack

void TrackListSkeleton::AddTrack ( const QString & uri,
const QString & after,
bool makeCurrent )
slot

Definition at line 153 of file track_list_skeleton.cpp.

References MH_TRACE, MH_WARNING, mpris::TrackList::Error::InsufficientPermissionsToAddTrack::name, and TrackListSkeleton().

Here is the call graph for this function:

◆ AddTracks

void TrackListSkeleton::AddTracks ( const QStringList & uris,
const QString & after )
slot

Definition at line 215 of file track_list_skeleton.cpp.

References MH_TRACE, MH_WARNING, mpris::TrackList::Error::InsufficientPermissionsToAddTrack::name, and TrackListSkeleton().

Here is the call graph for this function:

◆ canEditTracks()

bool TrackListSkeleton::canEditTracks ( ) const

Definition at line 129 of file track_list_skeleton.cpp.

References TrackListSkeleton().

Here is the call graph for this function:

◆ GetTracksMetadata

QMap< QString, QString > TrackListSkeleton::GetTracksMetadata ( const QString & id)
slot

Definition at line 135 of file track_list_skeleton.cpp.

◆ GetTracksUri

QString TrackListSkeleton::GetTracksUri ( const QString & id)
slot

Definition at line 147 of file track_list_skeleton.cpp.

References TrackListSkeleton().

Here is the call graph for this function:

◆ GoTo

void TrackListSkeleton::GoTo ( const QString & id)
slot

Definition at line 327 of file track_list_skeleton.cpp.

References TrackListSkeleton().

Here is the call graph for this function:

◆ MoveTrack

void TrackListSkeleton::MoveTrack ( const QString & id,
const QString & to )
slot

◆ RemoveTrack

void TrackListSkeleton::RemoveTrack ( const QString & id)
slot

Definition at line 315 of file track_list_skeleton.cpp.

References mpris::TrackList::Error::TrackNotFound::name, and TrackListSkeleton().

Here is the call graph for this function:

◆ Reset

void TrackListSkeleton::Reset ( )
slot

Definition at line 333 of file track_list_skeleton.cpp.

References TrackListSkeleton().

Here is the call graph for this function:

◆ TrackAdded

Q_SCRIPTABLE void lomiri::MediaHubService::TrackListSkeleton::TrackAdded ( const QString & id)
signal

References TrackAdded().

Referenced by TrackAdded(), and TrackListSkeleton().

Here is the call graph for this function:

◆ TrackChanged

Q_SCRIPTABLE void lomiri::MediaHubService::TrackListSkeleton::TrackChanged ( const QString & id)
signal

References TrackChanged().

Referenced by TrackChanged(), and TrackListSkeleton().

Here is the call graph for this function:

◆ TrackListReplaced

Q_SCRIPTABLE void lomiri::MediaHubService::TrackListSkeleton::TrackListReplaced ( const QStringList & tracks,
const QString & currentTrack )
signal

References TrackListReplaced(), and tracks().

Referenced by TrackListReplaced(), and TrackListSkeleton().

Here is the call graph for this function:

◆ TrackListReset

Q_SCRIPTABLE void lomiri::MediaHubService::TrackListSkeleton::TrackListReset ( )
signal

References TrackListReset(), and TrackListSkeleton().

Referenced by TrackListReset(), and TrackListSkeleton().

Here is the call graph for this function:

◆ TrackMetadataChanged

Q_SCRIPTABLE void lomiri::MediaHubService::TrackListSkeleton::TrackMetadataChanged ( const QVariantMap & metadata,
const QDBusObjectPath & path )
signal

References TrackMetadataChanged().

Referenced by TrackMetadataChanged().

Here is the call graph for this function:

◆ TrackMoved

Q_SCRIPTABLE void lomiri::MediaHubService::TrackListSkeleton::TrackMoved ( const QString & id,
const QString & to )
signal

References TrackMoved().

Referenced by TrackListSkeleton(), and TrackMoved().

Here is the call graph for this function:

◆ TrackRemoved

Q_SCRIPTABLE void lomiri::MediaHubService::TrackListSkeleton::TrackRemoved ( const QString & id)
signal

References TrackRemoved().

Referenced by TrackListSkeleton(), and TrackRemoved().

Here is the call graph for this function:

◆ tracks()

QStringList TrackListSkeleton::tracks ( ) const

Definition at line 118 of file track_list_skeleton.cpp.

References TrackListSkeleton(), and tracks().

Referenced by TrackListReplaced(), TrackListSkeleton(), and tracks().

Here is the call graph for this function:

◆ TracksAdded

Q_SCRIPTABLE void lomiri::MediaHubService::TrackListSkeleton::TracksAdded ( const QStringList & trackURIs)
signal

References TracksAdded().

Referenced by TrackListSkeleton(), and TracksAdded().

Here is the call graph for this function:

Property Documentation

◆ CanEditTracks

bool lomiri::MediaHubService::TrackListSkeleton::CanEditTracks
read

Definition at line 50 of file track_list_skeleton.h.

◆ Tracks

QStringList lomiri::MediaHubService::TrackListSkeleton::Tracks
read

Definition at line 49 of file track_list_skeleton.h.


The documentation for this class was generated from the following files: