#include <mythevent.h>

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.
Public Types | |
| enum | Type { MythEventMessage = (User + 1000) } |
Public Member Functions | |
| MythEvent (int t) | |
| MythEvent (const QString lmessage) | |
| MythEvent (const QString lmessage, const QStringList &lextradata) | |
| virtual | ~MythEvent () |
| const QString & | Message () const |
| const QString & | ExtraData (int idx=0) const |
| const QStringList & | ExtraDataList () const |
| int | ExtraDataCount () const |
| virtual MythEvent * | clone () |
Private Attributes | |
| QString | message |
| QStringList | extradata |
| enum MythEvent::Type |
| MythEvent::MythEvent | ( | int | t | ) | [inline] |
Definition at line 20 of file mythevent.h.
| MythEvent::MythEvent | ( | const QString | lmessage | ) | [inline] |
Definition at line 23 of file mythevent.h.
| MythEvent::MythEvent | ( | const QString | lmessage, | |
| const QStringList & | lextradata | |||
| ) | [inline] |
Definition at line 29 of file mythevent.h.
| virtual MythEvent::~MythEvent | ( | ) | [inline, virtual] |
Definition at line 36 of file mythevent.h.
| const QString& MythEvent::Message | ( | ) | const [inline] |
Definition at line 38 of file mythevent.h.
Referenced by WelcomeDialog::customEvent(), ViewScheduled::customEvent(), TV::customEvent(), ProgLister::customEvent(), ProgFinder::customEvent(), PreviousList::customEvent(), PlaybackBox::customEvent(), NetworkControl::customEvent(), MusicPlayer::customEvent(), MainServer::customEvent(), LCDProcClient::customEvent(), JobQueue::customEvent(), GuideGrid::customEvent(), BackendSelect::customEvent(), MythContext::dispatch(), MythContext::dispatchNow(), and incomingCustomEvent().
| const QString& MythEvent::ExtraData | ( | int | idx = 0 |
) | const [inline] |
Definition at line 39 of file mythevent.h.
Referenced by MainServer::customEvent(), and BackendSelect::customEvent().
| const QStringList& MythEvent::ExtraDataList | ( | ) | const [inline] |
Definition at line 40 of file mythevent.h.
Referenced by TV::customEvent(), and MainServer::customEvent().
| int MythEvent::ExtraDataCount | ( | ) | const [inline] |
Definition at line 41 of file mythevent.h.
| virtual MythEvent* MythEvent::clone | ( | ) | [inline, virtual] |
Reimplemented in OutputEvent, and DecoderEvent.
Definition at line 43 of file mythevent.h.
Referenced by MythObservable::dispatch(), and MythObservable::dispatchNow().
QString MythEvent::message [private] |
Definition at line 46 of file mythevent.h.
QStringList MythEvent::extradata [private] |
Definition at line 47 of file mythevent.h.
1.5.5