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
[legend]
Collaboration diagram for MusicPlayerEvent:
Collaboration graph
[legend]

Public Member Functions

 MusicPlayerEvent (Type type, int id)
 
 MusicPlayerEvent (Type type, uint vol, bool muted)
 
 ~MusicPlayerEvent ()=default
 
MythEventclone (void) const override
 
- Public Member Functions inherited from MythEvent
 MythEvent (int type)
 
 MythEvent (int type, QString lmessage)
 
 MythEvent (int type, QString lmessage, const QStringList &lextradata)
 
 MythEvent (QString lmessage)
 
 MythEvent (QString lmessage, const QStringList &lextradata)
 
 MythEvent (QString lmessage, const QString lextradata)
 
virtual ~MythEvent ()=default
 
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 
)
inline

Definition at line 24 of file musicplayer.h.

Referenced by clone().

◆ MusicPlayerEvent() [2/2]

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

Definition at line 26 of file musicplayer.h.

◆ ~MusicPlayerEvent()

MusicPlayerEvent::~MusicPlayerEvent ( )
default

Member Function Documentation

◆ clone()

MythEvent* MusicPlayerEvent::clone ( void  ) const
inlineoverridevirtual

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()
static

◆ VolumeChangeEvent

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

Definition at line 41 of file musicplayer.h.

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

◆ TrackAddedEvent

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

◆ TrackRemovedEvent

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

◆ TrackUnavailableEvent

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

◆ AllTracksRemovedEvent

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

◆ MetadataChangedEvent

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

◆ TrackStatsChangedEvent

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

◆ AlbumArtChangedEvent

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

◆ CDChangedEvent

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

◆ PlaylistChangedEvent

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

Definition at line 50 of file musicplayer.h.

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

◆ PlayedTracksChangedEvent

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

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