MythTV  0.28pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Public Member Functions | Static Public Attributes | Private 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
 

Private 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::MythEvent ( int  t)
inline

Definition at line 18 of file mythevent.h.

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

Definition at line 22 of file mythevent.h.

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

Definition at line 28 of file mythevent.h.

MythEvent::MythEvent ( const QString  lmessage)
inline

Definition at line 35 of file mythevent.h.

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

Definition at line 41 of file mythevent.h.

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

Definition at line 48 of file mythevent.h.

virtual MythEvent::~MythEvent ( )
inlinevirtual

Definition at line 55 of file mythevent.h.

Member Function Documentation

const QString& MythEvent::Message ( ) const
inline
const QString& MythEvent::ExtraData ( int  idx = 0) const
inline
const QStringList& MythEvent::ExtraDataList ( ) const
inline
int MythEvent::ExtraDataCount ( ) const
inline
virtual MythEvent* MythEvent::clone ( void  ) const
inlinevirtual

Member Data Documentation

QEvent::Type MythEvent::MythEventMessage
static
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().

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

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

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

Definition at line 69 of file mythevent.h.

Referenced by MythMainWindow::event().

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

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

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

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

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

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

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

Definition at line 76 of file mythevent.h.

Referenced by TV::customEvent().

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

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

QString MythEvent::m_message
private

Definition at line 81 of file mythevent.h.

QStringList MythEvent::m_extradata
private

Definition at line 82 of file mythevent.h.


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