MythTV
master
|
This class is used as a container for messages. More...
#include <mythevent.h>
Public Member Functions | |
MythEvent (int type) | |
MythEvent (int type, QString lmessage) | |
MythEvent (int type, QString lmessage, QStringList lextradata) | |
MythEvent (QString lmessage) | |
MythEvent (QString lmessage, QStringList lextradata) | |
MythEvent (QString lmessage, const QString &lextradata) | |
~MythEvent () override | |
const QString & | Message () const |
const QString & | ExtraData (int idx=0) const |
const QStringList & | ExtraDataList () const |
int | ExtraDataCount () const |
void | log (const QString &prefix) |
MythEvent * | clone () const override |
MythEvent (MythEvent &&)=delete | |
MythEvent & | operator= (MythEvent &&)=delete |
Static Public Attributes | |
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 |
Protected Member Functions | |
MythEvent (const MythEvent &other)=default | |
MythEvent & | operator= (const MythEvent &other)=default |
Protected Attributes | |
QString | m_message |
QStringList | m_extradata |
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 16 of file mythevent.h.
|
inlineexplicit |
Definition at line 19 of file mythevent.h.
|
inline |
Definition at line 23 of file mythevent.h.
|
inline |
Definition at line 31 of file mythevent.h.
|
inlineexplicit |
Definition at line 39 of file mythevent.h.
|
inline |
Definition at line 47 of file mythevent.h.
|
inline |
Definition at line 55 of file mythevent.h.
|
override |
Definition at line 33 of file mythevent.cpp.
|
protecteddefault |
|
delete |
|
inline |
Definition at line 65 of file mythevent.h.
Referenced by MythInfoMapEvent::clone(), MythWebSocketEvent::customEvent(), BackendConnectionManager::customEvent(), ZMMiniPlayer::customEvent(), WebSocketMythEvent::customEvent(), VideoSetupWizard::customEvent(), ZMClient::customEvent(), StreamView::customEvent(), GalleryThumbView::customEvent(), ThemeChooser::customEvent(), GallerySlideView::customEvent(), MythSystemEventHandler::customEvent(), ViewScheduled::customEvent(), NetBase::customEvent(), ProgFinder::customEvent(), BrowserApi::customEvent(), ProgLister::customEvent(), BackendSelection::customEvent(), UPNPScanner::customEvent(), PlaylistEditorView::customEvent(), NewsSite::customEvent(), MythWebView::customEvent(), DecoderHandler::customEvent(), LyricsData::customEvent(), NetworkControl::customEvent(), MainServer::customEvent(), PlaybackBox::customEvent(), JobQueue::customEvent(), MythMainWindow::customEvent(), EditAlbumartDialog::customEvent(), GuideGrid::customEvent(), HouseKeeper::customEvent(), TV::customEvent(), MusicPlayer::customEvent(), MythCoreContext::dispatch(), incomingCustomEvent(), and MythCoreContext::SendEvent().
|
inline |
Definition at line 66 of file mythevent.h.
Referenced by MainServer::HandleSlaveDisconnectedEvent().
|
inline |
Definition at line 67 of file mythevent.h.
Referenced by MythCoreContext::SendEvent().
|
inline |
Definition at line 68 of file mythevent.h.
Referenced by MainServer::HandleSlaveDisconnectedEvent().
void MythEvent::log | ( | const QString & | prefix | ) |
Definition at line 37 of file mythevent.cpp.
|
inlineoverride |
Definition at line 75 of file mythevent.h.
Referenced by MythObservable::dispatch().
|
static |
Definition at line 79 of file mythevent.h.
Referenced by MythWebSocketEvent::customEvent(), BackendConnectionManager::customEvent(), MessageHandler::customEvent(), ZMMiniPlayer::customEvent(), IdleScreen::customEvent(), WebSocketMythEvent::customEvent(), LCDProcClient::customEvent(), VideoSetupWizard::customEvent(), WelcomeDialog::customEvent(), ZMClient::customEvent(), StreamView::customEvent(), ThemeChooser::customEvent(), GalleryThumbView::customEvent(), GallerySlideView::customEvent(), MythSystemEventHandler::customEvent(), ViewScheduled::customEvent(), ProgFinder::customEvent(), NetBase::customEvent(), BrowserApi::customEvent(), ProgLister::customEvent(), BackendSelection::customEvent(), UPNPScanner::customEvent(), PlaylistEditorView::customEvent(), NewsSite::customEvent(), DecoderHandler::customEvent(), MythWebView::customEvent(), LyricsData::customEvent(), NetworkControl::customEvent(), MainServer::customEvent(), PlaybackBox::customEvent(), JobQueue::customEvent(), MythMainWindow::customEvent(), EditAlbumartDialog::customEvent(), GuideGrid::customEvent(), HouseKeeper::customEvent(), TV::customEvent(), MusicPlayer::customEvent(), MythMainWindow::DoRemoteScreenShot(), PBHEventHandler::event(), PreviewGenerator::event(), PreviewGeneratorQueue::event(), MythContextPrivate::event(), TV::eventFilter(), incomingCustomEvent(), and NetworkControl::saveScreenshot().
|
static |
Definition at line 80 of file mythevent.h.
Referenced by MythMainWindow::customEvent(), TV::customEvent(), TV::eventFilter(), MythUDPListener::Process(), NetworkControl::processMessage(), Frontend::SendMessage(), and MythFrontendService::SendMessage().
|
static |
Definition at line 81 of file mythevent.h.
Referenced by TV::customEvent(), TV::eventFilter(), and MythBDBuffer::ProgressUpdate().
|
static |
Definition at line 82 of file mythevent.h.
Referenced by MythMainWindow::customEvent(), MythMainWindow::ExitToMainMenu(), MythMainWindow::JumpTo(), MythScreenStack::PopScreen(), and MythMainWindow::TranslateKeyPress().
|
static |
Definition at line 83 of file mythevent.h.
Referenced by MythMainWindow::event().
|
static |
Definition at line 84 of file mythevent.h.
Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePreRun().
|
static |
Definition at line 85 of file mythevent.h.
Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePostRun().
|
static |
Definition at line 86 of file mythevent.h.
Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePreRun().
|
static |
Definition at line 87 of file mythevent.h.
Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePostRun().
|
static |
Definition at line 88 of file mythevent.h.
Referenced by TV::customEvent().
|
static |
Definition at line 89 of file mythevent.h.
Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePreRun().
|
static |
Definition at line 90 of file mythevent.h.
Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePostRun().
|
protected |
Definition at line 101 of file mythevent.h.
Referenced by log().
|
protected |
Definition at line 102 of file mythevent.h.
Referenced by MythNotification::FromStringList(), log(), and MythNotification::ToStringList().