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

#include <libmythbase/mythmedia.h>

Inheritance diagram for MythMediaEvent:
[legend]
Collaboration diagram for MythMediaEvent:
[legend]

Public Member Functions

 MythMediaEvent (MythMediaStatus oldStatus, MythMediaDevice *pDevice)
 
 ~MythMediaEvent () override
 
MythMediaStatus getOldStatus (void) const
 
MythMediaDevicegetDevice (void)
 

Static Public Attributes

static const Type kEventType
 

Protected Attributes

MythMediaStatus m_oldStatus
 
QPointer< MythMediaDevicem_device
 

Detailed Description

Definition at line 183 of file mythmedia.h.

Constructor & Destructor Documentation

◆ MythMediaEvent()

MythMediaEvent::MythMediaEvent ( MythMediaStatus  oldStatus,
MythMediaDevice pDevice 
)
inline

Definition at line 186 of file mythmedia.h.

◆ ~MythMediaEvent()

MythMediaEvent::~MythMediaEvent ( )
override

Definition at line 70 of file mythmedia.cpp.

Member Function Documentation

◆ getOldStatus()

MythMediaStatus MythMediaEvent::getOldStatus ( void  ) const
inline

Definition at line 190 of file mythmedia.h.

Referenced by ImageManagerFe::DeviceEvent().

◆ getDevice()

MythMediaDevice* MythMediaEvent::getDevice ( void  )
inline

Definition at line 191 of file mythmedia.h.

Member Data Documentation

◆ kEventType

const QEvent::Type MythMediaEvent::kEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 193 of file mythmedia.h.

Referenced by MythMainWindow::customEvent(), TV::customEvent(), MediaMonitor::eventFilter(), and TV::eventFilter().

◆ m_oldStatus

MythMediaStatus MythMediaEvent::m_oldStatus
protected

Definition at line 196 of file mythmedia.h.

◆ m_device

QPointer<MythMediaDevice> MythMediaEvent::m_device
protected

Definition at line 197 of file mythmedia.h.


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