|
MythTV master
|
This class is used as a container for messages. More...
#include <libmythbase/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 const Type | kMythEventMessage |
| static const Type | kMythUserMessage |
| static const Type | kUpdateTvProgressEventType |
| static const Type | kExitToMainMenuEventType |
| static const Type | kMythPostShowEventType |
| static const Type | kPushDisableDrawingEventType |
| static const Type | kPopDisableDrawingEventType |
| static const Type | kLockInputDevicesEventType |
| static const Type | kUnlockInputDevicesEventType |
| static const Type | kUpdateBrowseInfoEventType |
| static const Type | kDisableUDPListenerEventType |
| static const 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. For an example, see AudioOutput::Event in audiooutput.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 |
|
inlineoverride |
Definition at line 75 of file mythevent.h.
Referenced by MythObservable::dispatch().
|
inline |
Definition at line 66 of file mythevent.h.
Referenced by MainServer::HandleSlaveDisconnectedEvent().
|
inline |
Definition at line 68 of file mythevent.h.
Referenced by MainServer::HandleSlaveDisconnectedEvent().
|
inline |
Definition at line 67 of file mythevent.h.
Referenced by MythCoreContext::SendEvent().
| void MythEvent::log | ( | const QString & | prefix | ) |
Definition at line 37 of file mythevent.cpp.
|
inline |
Definition at line 65 of file mythevent.h.
Referenced by MythWebSocketEvent::customEvent(), WebSocketMythEvent::customEvent(), DecoderHandler::customEvent(), HouseKeeper::customEvent(), JobQueue::customEvent(), MythSystemEventHandler::customEvent(), MythWebEngineView::customEvent(), MainServer::customEvent(), NetworkControl::customEvent(), ProgFinder::customEvent(), VideoSetupWizard::customEvent(), ThemeChooser::customEvent(), EditAlbumartDialog::customEvent(), MusicPlayer::customEvent(), PlaylistEditorView::customEvent(), StreamView::customEvent(), NetBase::customEvent(), NewsSite::customEvent(), ZMClient::customEvent(), ZMMiniPlayer::customEvent(), BackendSelection::customEvent(), LyricsData::customEvent(), TV::customEvent(), MythMainWindow::customEvent(), BackendConnectionManager::customEvent(), GallerySlideView::customEvent(), GalleryThumbView::customEvent(), GuideGrid::customEvent(), PlaybackBox::customEvent(), ProgLister::customEvent(), UPNPScanner::customEvent(), ViewScheduled::customEvent(), MythCoreContext::dispatch(), incomingCustomEvent(), and MythCoreContext::SendEvent().
|
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().
|
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 86 of file mythevent.h.
Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePreRun().
|
static |
Definition at line 79 of file mythevent.h.
Referenced by MythWebSocketEvent::customEvent(), WebSocketMythEvent::customEvent(), DecoderHandler::customEvent(), HouseKeeper::customEvent(), MessageHandler::customEvent(), JobQueue::customEvent(), MythSystemEventHandler::customEvent(), MythWebEngineView::customEvent(), MainServer::customEvent(), IdleScreen::customEvent(), NetworkControl::customEvent(), ProgFinder::customEvent(), VideoSetupWizard::customEvent(), ThemeChooser::customEvent(), LCDProcClient::customEvent(), WelcomeDialog::customEvent(), EditAlbumartDialog::customEvent(), MusicPlayer::customEvent(), PlaylistEditorView::customEvent(), StreamView::customEvent(), NetBase::customEvent(), NewsSite::customEvent(), ZMClient::customEvent(), ZMMiniPlayer::customEvent(), BackendSelection::customEvent(), LyricsData::customEvent(), TV::customEvent(), MythMainWindow::customEvent(), BackendConnectionManager::customEvent(), GallerySlideView::customEvent(), GalleryThumbView::customEvent(), GuideGrid::customEvent(), PlaybackBox::customEvent(), ProgLister::customEvent(), UPNPScanner::customEvent(), ViewScheduled::customEvent(), MythMainWindow::DoRemoteScreenShot(), MythContext::Impl::event(), PBHEventHandler::event(), PreviewGenerator::event(), PreviewGeneratorQueue::event(), TV::eventFilter(), incomingCustomEvent(), and NetworkControl::saveScreenshot().
|
static |
Definition at line 83 of file mythevent.h.
Referenced by MythMainWindow::event().
|
static |
Definition at line 80 of file mythevent.h.
Referenced by TV::customEvent(), MythMainWindow::customEvent(), TV::eventFilter(), MythUDPListener::Process(), NetworkControl::processMessage(), MythFrontendService::SendMessage(), and Frontend::SendMessage().
|
static |
Definition at line 85 of file mythevent.h.
Referenced by MythMainWindow::customEvent(), and MythSystemLegacy::HandlePostRun().
|
static |
Definition at line 84 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 81 of file mythevent.h.
Referenced by TV::customEvent(), TV::eventFilter(), and MythBDBuffer::ProgressUpdate().
|
protected |
Definition at line 102 of file mythevent.h.
Referenced by MythNotification::FromStringList(), log(), and MythNotification::ToStringList().
|
protected |
Definition at line 101 of file mythevent.h.
Referenced by log().