MythTV  0.28pre
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
MythEvent Class Reference

This class is used as a container for messages. More...

#include <mythevent.h>

Inheritance diagram for MythEvent:
Inheritance graph
[legend]
Collaboration diagram for MythEvent:
Collaboration graph
[legend]

Public Member Functions

 MythEvent (int t)
 
 MythEvent (int t, const QString lmessage)
 
 MythEvent (int t, const QString lmessage, const QStringList &lextradata)
 
 MythEvent (const QString lmessage)
 
 MythEvent (const QString lmessage, const QStringList &lextradata)
 
 MythEvent (const QString lmessage, const QString lextradata)
 
virtual ~MythEvent ()
 
const QString & Message () const
 
const QString & ExtraData (int idx=0) const
 
const QStringList & ExtraDataList () const
 
int ExtraDataCount () const
 
virtual MythEventclone () const
 

Static Public Attributes

static Type MythEventMessage
 
static Type MythUserMessage
 
static Type kUpdateTvProgressEventType
 
static Type kExitToMainMenuEventType
 
static Type kMythPostShowEventType
 
static Type kEnableDrawingEventType
 
static Type kDisableDrawingEventType
 
static Type kPushDisableDrawingEventType
 
static Type kPopDisableDrawingEventType
 
static Type kLockInputDevicesEventType
 
static Type kUnlockInputDevicesEventType
 
static Type kUpdateBrowseInfoEventType
 
static Type kDisableUDPListenerEventType
 
static Type kEnableUDPListenerEventType
 

Protected Attributes

QString m_message
 
QStringList m_extradata
 

Detailed Description

This class is used as a container for messages.

Any subclass of this that adds data to the event should override the clone method. As example, see OutputEvent in output.h.

Definition at line 15 of file mythevent.h.

Constructor & Destructor Documentation

§ MythEvent() [1/6]

MythEvent::MythEvent ( int  t)
inlineexplicit

Definition at line 18 of file mythevent.h.

§ MythEvent() [2/6]

MythEvent::MythEvent ( int  t,
const QString  lmessage 
)
inline

Definition at line 22 of file mythevent.h.

§ MythEvent() [3/6]

MythEvent::MythEvent ( int  t,
const QString  lmessage,
const QStringList &  lextradata 
)
inline

Definition at line 28 of file mythevent.h.

§ MythEvent() [4/6]

MythEvent::MythEvent ( const QString  lmessage)
inlineexplicit

Definition at line 35 of file mythevent.h.

§ MythEvent() [5/6]

MythEvent::MythEvent ( const QString  lmessage,
const QStringList &  lextradata 
)
inline

Definition at line 41 of file mythevent.h.

§ MythEvent() [6/6]

MythEvent::MythEvent ( const QString  lmessage,
const QString  lextradata 
)
inline

Definition at line 48 of file mythevent.h.

§ ~MythEvent()

virtual MythEvent::~MythEvent ( )
inlinevirtual

Definition at line 55 of file mythevent.h.

Member Function Documentation

§ Message()

const QString& MythEvent::Message ( ) const
inline

§ ExtraData()

const QString& MythEvent::ExtraData ( int  idx = 0) const
inline

§ ExtraDataList()

const QStringList& MythEvent::ExtraDataList ( ) const
inline

§ ExtraDataCount()

int MythEvent::ExtraDataCount ( ) const
inline

§ clone()

virtual MythEvent* MythEvent::clone ( void  ) const
inlinevirtual

Member Data Documentation

§ MythEventMessage

QEvent::Type MythEvent::MythEventMessage
static

§ MythUserMessage

QEvent::Type MythEvent::MythUserMessage
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 66 of file mythevent.h.

Referenced by MythMainWindow::customEvent(), TV::customEvent(), TV::eventFilter(), MythUDPListener::Process(), NetworkControl::processMessage(), and Frontend::SendMessage().

§ kUpdateTvProgressEventType

QEvent::Type MythEvent::kUpdateTvProgressEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 67 of file mythevent.h.

Referenced by TV::customEvent(), TV::eventFilter(), and BDRingBuffer::ProgressUpdate().

§ kExitToMainMenuEventType

QEvent::Type MythEvent::kExitToMainMenuEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 68 of file mythevent.h.

Referenced by MythMainWindow::customEvent(), MythMainWindow::detach(), MythMainWindow::JumpTo(), MythWizard::keyPressEvent(), MythScreenStack::PopScreen(), and MythMainWindow::TranslateKeyPress().

§ kMythPostShowEventType

QEvent::Type MythEvent::kMythPostShowEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 69 of file mythevent.h.

Referenced by MythMainWindow::event().

§ kEnableDrawingEventType

QEvent::Type MythEvent::kEnableDrawingEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 70 of file mythevent.h.

Referenced by MythMainWindow::customEvent(), and MythMainWindow::SetDrawEnabled().

§ kDisableDrawingEventType

QEvent::Type MythEvent::kDisableDrawingEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 71 of file mythevent.h.

Referenced by MythMainWindow::customEvent(), and MythMainWindow::SetDrawEnabled().

§ kPushDisableDrawingEventType

QEvent::Type MythEvent::kPushDisableDrawingEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 72 of file mythevent.h.

Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePreRun().

§ kPopDisableDrawingEventType

QEvent::Type MythEvent::kPopDisableDrawingEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 73 of file mythevent.h.

Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePostRun().

§ kLockInputDevicesEventType

QEvent::Type MythEvent::kLockInputDevicesEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 74 of file mythevent.h.

Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePreRun().

§ kUnlockInputDevicesEventType

QEvent::Type MythEvent::kUnlockInputDevicesEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 75 of file mythevent.h.

Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePostRun().

§ kUpdateBrowseInfoEventType

QEvent::Type MythEvent::kUpdateBrowseInfoEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 76 of file mythevent.h.

Referenced by TV::customEvent().

§ kDisableUDPListenerEventType

QEvent::Type MythEvent::kDisableUDPListenerEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 77 of file mythevent.h.

Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePreRun().

§ kEnableUDPListenerEventType

QEvent::Type MythEvent::kEnableUDPListenerEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 78 of file mythevent.h.

Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePostRun().

§ m_message

QString MythEvent::m_message
protected

Definition at line 81 of file mythevent.h.

§ m_extradata

QStringList MythEvent::m_extradata
protected

Definition at line 82 of file mythevent.h.

Referenced by MythNotification::FromStringList(), and MythNotification::ToStringList().


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