MythTV  master
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MusicPlayerEvent Class Reference

#include <musicplayer.h>

Inheritance diagram for MusicPlayerEvent:
Inheritance graph
Collaboration diagram for MusicPlayerEvent:
Collaboration graph

Public Member Functions

 MusicPlayerEvent (Type type, int id)
 MusicPlayerEvent (Type type, uint vol, bool muted)
 ~MusicPlayerEvent () override=default
MythEventclone (void) const override
- Public Member Functions inherited from MythEvent
 MythEvent (int type)
 MythEvent (int type, QString lmessage)
 MythEvent (int type, QString lmessage, QStringList lextradata)
 MythEvent (QString lmessage)
 MythEvent (QString lmessage, QStringList lextradata)
 MythEvent (QString lmessage, const QString &lextradata)
 ~MythEvent () override
const QString & Message () const
const QString & ExtraData (int idx=0) const
const QStringList & ExtraDataList () const
int ExtraDataCount () const

Public Attributes

int m_trackID
uint m_volume {0}
bool m_isMuted {false}

Static Public Attributes

static Type TrackChangeEvent = (QEvent::Type) QEvent::registerEventType()
static Type VolumeChangeEvent = (QEvent::Type) QEvent::registerEventType()
static Type TrackAddedEvent = (QEvent::Type) QEvent::registerEventType()
static Type TrackRemovedEvent = (QEvent::Type) QEvent::registerEventType()
static Type TrackUnavailableEvent = (QEvent::Type) QEvent::registerEventType()
static Type AllTracksRemovedEvent = (QEvent::Type) QEvent::registerEventType()
static Type MetadataChangedEvent = (QEvent::Type) QEvent::registerEventType()
static Type TrackStatsChangedEvent = (QEvent::Type) QEvent::registerEventType()
static Type AlbumArtChangedEvent = (QEvent::Type) QEvent::registerEventType()
static Type CDChangedEvent = (QEvent::Type) QEvent::registerEventType()
static Type PlaylistChangedEvent = (QEvent::Type) QEvent::registerEventType()
static Type PlayedTracksChangedEvent = (QEvent::Type) QEvent::registerEventType()
- Static Public Attributes inherited from MythEvent
static Type MythEventMessage
static Type MythUserMessage
static Type kUpdateTvProgressEventType
static Type kExitToMainMenuEventType
static Type kMythPostShowEventType
static Type kPushDisableDrawingEventType
static Type kPopDisableDrawingEventType
static Type kLockInputDevicesEventType
static Type kUnlockInputDevicesEventType
static Type kUpdateBrowseInfoEventType
static Type kDisableUDPListenerEventType
static Type kEnableUDPListenerEventType

Additional Inherited Members

- Protected Attributes inherited from MythEvent
QString m_message
QStringList m_extradata

Detailed Description

Definition at line 21 of file musicplayer.h.

Constructor & Destructor Documentation

◆ MusicPlayerEvent() [1/2]

MusicPlayerEvent::MusicPlayerEvent ( Type  type,
int  id 

Definition at line 24 of file musicplayer.h.

Referenced by clone().

◆ MusicPlayerEvent() [2/2]

MusicPlayerEvent::MusicPlayerEvent ( Type  type,
uint  vol,
bool  muted 

Definition at line 26 of file musicplayer.h.

◆ ~MusicPlayerEvent()

MusicPlayerEvent::~MusicPlayerEvent ( )

Member Function Documentation

◆ clone()

MythEvent* MusicPlayerEvent::clone ( void  ) const

Reimplemented from MythEvent.

Definition at line 30 of file musicplayer.h.

Member Data Documentation

◆ m_trackID

int MusicPlayerEvent::m_trackID

Definition at line 34 of file musicplayer.h.

Referenced by SearchView::customEvent(), and MusicCommon::customEvent().

◆ m_volume

uint MusicPlayerEvent::m_volume {0}

Definition at line 37 of file musicplayer.h.

◆ m_isMuted

bool MusicPlayerEvent::m_isMuted {false}

Definition at line 38 of file musicplayer.h.

◆ TrackChangeEvent

QEvent::Type MusicPlayerEvent::TrackChangeEvent = (QEvent::Type) QEvent::registerEventType()

◆ VolumeChangeEvent

QEvent::Type MusicPlayerEvent::VolumeChangeEvent = (QEvent::Type) QEvent::registerEventType()

Definition at line 41 of file musicplayer.h.

Referenced by MusicCommon::customEvent(), and MusicPlayer::sendVolumeChangedEvent().

◆ TrackAddedEvent

QEvent::Type MusicPlayerEvent::TrackAddedEvent = (QEvent::Type) QEvent::registerEventType()

◆ TrackRemovedEvent

QEvent::Type MusicPlayerEvent::TrackRemovedEvent = (QEvent::Type) QEvent::registerEventType()

◆ TrackUnavailableEvent

QEvent::Type MusicPlayerEvent::TrackUnavailableEvent = (QEvent::Type) QEvent::registerEventType()

◆ AllTracksRemovedEvent

QEvent::Type MusicPlayerEvent::AllTracksRemovedEvent = (QEvent::Type) QEvent::registerEventType()

◆ MetadataChangedEvent

QEvent::Type MusicPlayerEvent::MetadataChangedEvent = (QEvent::Type) QEvent::registerEventType()

◆ TrackStatsChangedEvent

QEvent::Type MusicPlayerEvent::TrackStatsChangedEvent = (QEvent::Type) QEvent::registerEventType()

◆ AlbumArtChangedEvent

QEvent::Type MusicPlayerEvent::AlbumArtChangedEvent = (QEvent::Type) QEvent::registerEventType()

◆ CDChangedEvent

QEvent::Type MusicPlayerEvent::CDChangedEvent = (QEvent::Type) QEvent::registerEventType()

◆ PlaylistChangedEvent

QEvent::Type MusicPlayerEvent::PlaylistChangedEvent = (QEvent::Type) QEvent::registerEventType()

Definition at line 50 of file musicplayer.h.

Referenced by PlaylistEditorView::customEvent(), and MusicPlayer::playlistChanged().

◆ PlayedTracksChangedEvent

QEvent::Type MusicPlayerEvent::PlayedTracksChangedEvent = (QEvent::Type) QEvent::registerEventType()

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