MythTV  0.27pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
MythCoreContext Class Reference

This class contains the runtime context for MythTV. More...

#include <mythcorecontext.h>

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

Signals

void TVPlaybackStarted (void)
void TVPlaybackStopped (void)
void TVPlaybackSought (qint64 position)
void TVPlaybackPaused (void)
void TVPlaybackUnpaused (void)
void TVPlaybackAborted (void)
void TVPlaybackAboutToStart (void)
void TVPlaybackPlaying (void)

Public Member Functions

 MythCoreContext (const QString &binversion, QObject *eventHandler)
virtual ~MythCoreContext ()
bool Init (void)
void SetLocalHostname (const QString &hostname)
void SetServerSocket (MythSocket *serverSock)
void SetEventSocket (MythSocket *eventSock)
void SetScheduler (MythScheduler *sched)
bool SafeConnectToMasterServer (bool blockingClient=true, bool openEventSocket=true)
bool ConnectToMasterServer (bool blockingClient=true, bool openEventSocket=true)
MythSocketConnectCommandSocket (const QString &hostname, int port, const QString &announcement, bool *proto_mismatch=NULL, bool gui=true, int maxConnTry=-1, int setup_timeout=-1)
MythSocketConnectEventSocket (const QString &hostname, int port)
bool SetupCommandSocket (MythSocket *serverSock, const QString &announcement, uint timeout_in_ms, bool &proto_mismatch)
bool CheckProtoVersion (MythSocket *socket, uint timeout_ms=kMythSocketLongTimeout, bool error_dialog_desired=false)
QString GenMythURL (QString host=QString(), QString port=QString(), QString path=QString(), QString storageGroup=QString())
QString GenMythURL (QString host=QString(), int port=0, QString path=QString(), QString storageGroup=QString())
QString GetMasterHostPrefix (const QString &storageGroup=QString(), const QString &path=QString())
QString GetMasterHostName (void)
QString GetHostName (void)
QString GetFilePrefix (void)
bool IsConnectedToMaster (void)
void SetBackend (bool backend)
bool IsBackend (void) const
 is this process a backend process
bool IsFrontendOnly (void)
 is there a frontend, but no backend, running on this host
bool IsMasterHost (void)
 is this the same host as the master
bool IsMasterHost (const QString &host)
bool IsMasterBackend (void)
 is this the actual MBE process
bool BackendIsRunning (void)
 a backend process is running on this host
bool IsThisHost (const QString &addr)
bool IsThisHost (const QString &addr, const QString &host)
void BlockShutdown (void)
void AllowShutdown (void)
bool IsBlockingClient (void) const
 is this client blocking shutdown
bool SendReceiveStringList (QStringList &strlist, bool quicTimeout=false, bool block=true)
void SendMessage (const QString &message)
void SendEvent (const MythEvent &event)
void SendSystemEvent (const QString &msg)
void SendHostSystemEvent (const QString &msg, const QString &hostname, const QString &args)
void SetGUIObject (QObject *gui)
QObject * GetGUIObject (void)
bool HasGUI (void) const
bool IsUIThread (void)
MythDB * GetDB (void)
MDBManagerGetDBManager (void)
MythSchedulerGetScheduler (void)
bool IsDatabaseIgnored (void) const
 /brief Returns true if database is being ignored.
DatabaseParams GetDatabaseParams (void)
void SaveSetting (const QString &key, int newValue)
void SaveSetting (const QString &key, const QString &newValue)
QString GetSetting (const QString &key, const QString &defaultval="")
bool SaveSettingOnHost (const QString &key, const QString &newValue, const QString &host)
int GetNumSetting (const QString &key, int defaultval=0)
double GetFloatSetting (const QString &key, double defaultval=0.0)
void GetResolutionSetting (const QString &type, int &width, int &height, double &forced_aspect, double &refreshrate, int index=-1)
void GetResolutionSetting (const QString &type, int &width, int &height, int index=-1)
QString GetSettingOnHost (const QString &key, const QString &host, const QString &defaultval="")
int GetNumSettingOnHost (const QString &key, const QString &host, int defaultval=0)
double GetFloatSettingOnHost (const QString &key, const QString &host, double defaultval=0.0)
QString GetBackendServerIP (void)
QString GetBackendServerIP (const QString &host)
void ClearSettingsCache (const QString &myKey=QString(""))
void ActivateSettingsCache (bool activate=true)
void OverrideSettingForSession (const QString &key, const QString &value)
void ClearOverrideSettingForSession (const QString &key)
void dispatch (const MythEvent &event)
 Dispatch an event to all listeners.
void dispatchNow (const MythEvent &event)
 Dispatch an event to all listeners.
void InitLocale (void)
void ReInitLocale (void)
MythLocaleGetLocale (void) const
const QLocale GetQLocale (void)
void SaveLocaleDefaults (void)
QString GetLanguage (void)
 Returns two character ISO-639 language descriptor for UI language.
QString GetLanguageAndVariant (void)
 Returns the user-set language and variant.
void ResetLanguage (void)
void RegisterForPlayback (QObject *sender, const char *method)
 Register sender for TVPlaybackAboutToStart signal.
void UnregisterForPlayback (QObject *sender)
 Unregister sender from being called when TVPlaybackAboutToStart signal is emitted.
void WantingPlayback (QObject *sender)
 All the objects that have registered using MythCoreContext::RegisterForPlayback but sender will be called.
bool TestPluginVersion (const QString &name, const QString &libversion, const QString &pluginversion)
void SetPluginManager (MythPluginManager *pmanager)
MythPluginManagerGetPluginManager (void)
void WaitUntilSignals (const char *signal1,...)
 Wait until either of the provided signals have been received.
void emitTVPlaybackStarted (void)
void emitTVPlaybackStopped (void)
void emitTVPlaybackSought (qint64 position)
void emitTVPlaybackPaused (void)
void emitTVPlaybackUnpaused (void)
void emitTVPlaybackAborted (void)
void emitTVPlaybackPlaying (void)
- Public Member Functions inherited from MythObservable
 MythObservable ()
virtual ~MythObservable ()
void addListener (QObject *listener)
 Add a listener to the observable.
void removeListener (QObject *listener)
 Remove a listener to the observable.
bool hasListeners (void)
- Public Member Functions inherited from MythSocketCBs
virtual ~MythSocketCBs ()
virtual void connected (MythSocket *)=0
virtual void error (MythSocket *, int)
virtual void readyRead (MythSocket *)=0
virtual void connectionFailed (MythSocket *)=0
virtual void connectionClosed (MythSocket *)=0

Private Member Functions

void connected (MythSocket *sock)
void connectionFailed (MythSocket *sock)
void connectionClosed (MythSocket *sock)
void readyRead (MythSocket *sock)

Private Attributes

MythCoreContextPrivated

Additional Inherited Members

- Protected Attributes inherited from MythObservable
QMutex * m_lock
QSet< QObject * > m_listeners

Detailed Description

This class contains the runtime context for MythTV.

This class can be used to query for and set global and host settings, and is used to communicate between the frontends and backends. It also contains helper functions for theming and for getting system defaults, parsing the command line, etc. It also contains support for database error printing, and database message logging.

Definition at line 50 of file mythcorecontext.h.

Constructor & Destructor Documentation

MythCoreContext::MythCoreContext ( const QString &  binversion,
QObject *  eventHandler 
)

Definition at line 187 of file mythcorecontext.cpp.

MythCoreContext::~MythCoreContext ( )
virtual

Definition at line 252 of file mythcorecontext.cpp.

Member Function Documentation

bool MythCoreContext::Init ( void  )

Definition at line 194 of file mythcorecontext.cpp.

Referenced by MythContext::MythContext().

void MythCoreContext::SetLocalHostname ( const QString &  hostname)

Definition at line 1237 of file mythcorecontext.cpp.

Referenced by MythContextPrivate::LoadDatabaseSettings().

void MythCoreContext::SetServerSocket ( MythSocket serverSock)
void MythCoreContext::SetEventSocket ( MythSocket eventSock)
void MythCoreContext::SetScheduler ( MythScheduler sched)

Definition at line 1348 of file mythcorecontext.cpp.

Referenced by cleanup(), and run_backend().

bool MythCoreContext::SafeConnectToMasterServer ( bool  blockingClient = true,
bool  openEventSocket = true 
)
bool MythCoreContext::ConnectToMasterServer ( bool  blockingClient = true,
bool  openEventSocket = true 
)
MythSocket * MythCoreContext::ConnectCommandSocket ( const QString &  hostname,
int  port,
const QString &  announcement,
bool proto_mismatch = NULL,
bool  gui = true,
int  maxConnTry = -1,
int  setup_timeout = -1 
)
MythSocket * MythCoreContext::ConnectEventSocket ( const QString &  hostname,
int  port 
)

Definition at line 492 of file mythcorecontext.cpp.

Referenced by ConnectToMasterServer().

bool MythCoreContext::SetupCommandSocket ( MythSocket serverSock,
const QString &  announcement,
uint  timeout_in_ms,
bool proto_mismatch 
)

Definition at line 258 of file mythcorecontext.cpp.

Referenced by ConnectCommandSocket().

bool MythCoreContext::CheckProtoVersion ( MythSocket socket,
uint  timeout_ms = kMythSocketLongTimeout,
bool  error_dialog_desired = false 
)
QString MythCoreContext::GenMythURL ( QString  host = QString(),
QString  port = QString(),
QString  path = QString(),
QString  storageGroup = QString() 
)
QString MythCoreContext::GenMythURL ( QString  host = QString(),
int  port = 0,
QString  path = QString(),
QString  storageGroup = QString() 
)

Definition at line 670 of file mythcorecontext.cpp.

QString MythCoreContext::GetMasterHostPrefix ( const QString &  storageGroup = QString(),
const QString &  path = QString() 
)
QString MythCoreContext::GetMasterHostName ( void  )
QString MythCoreContext::GetHostName ( void  )

Definition at line 777 of file mythcorecontext.cpp.

Referenced by Content::AddLiveStream(), Content::AddRecordingLiveStream(), HTTPLiveStream::AddStream(), Content::AddVideoLiveStream(), ControlRequestHandler::AnnounceSocket(), MainServer::BackendQueryDiskSpace(), BackendSettings::BackendSettings(), PlaybackProfileConfigs::btnPress(), Playlist::changed(), StorageGroup::CheckAllStorageGroupDirs(), ChannelBase::CheckChannel(), checkImageStoragePaths(), checkStoragePaths(), CleanupMyOldInUsePrograms(), CleanupTask::CleanupOldRecordings(), clearAllKeys(), MythControls::Create(), MythSystemEventHandler::customEvent(), BrowserApi::customEvent(), MainServer::customEvent(), NetworkControl::customEvent(), MythWebView::customEvent(), HouseKeeper::customEvent(), MusicPlayer::customEvent(), MainServer::DeleteRecordedFiles(), ProgramInfo::DiscoverRecordingDirectory(), StorageGroupEditor::doDelete(), StorageGroupListEditor::doDelete(), MainServer::DoHandleDeleteRecording(), MainServer::DoHandleStopRecording(), Content::DownloadFile(), CaptureCardEditor::edit(), ExpertSettingsEditor::ExpertSettingsEditor(), AutoExpire::ExpireRecordings(), Scheduler::FillRecordingDir(), CaptureCard::fillSelections(), HttpStatus::FillStatusXML(), findAllDBSearchGrabbers(), findAllDBTreeGrabbersByHost(), SourceManager::findScripts(), SourceManager::findScriptsDB(), findSearchGrabberByCommand(), findSearchGrabberInDB(), findTreeGrabberByCommand(), findTreeGrabberInDB(), get_cardtype(), MainServer::GetActiveBackends(), DBUtil::GetBackupDirectory(), CardUtil::GetCardIDs(), getDBParamters(), Dvr::GetEncoderList(), Content::GetHash(), Myth::GetHostName(), BrowserApi::GetMetadata(), MetadataDownload::getMXMLPath(), Scheduler::GetNextLiveTVDir(), MetadataDownload::getNFOPath(), ProgramInfo::GetPlaybackURL(), Content::GetPreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), Content::GetRecording(), LogViewer::getSetting(), CardUtil::GetVideoDevices(), BrowserApi::GetVolume(), handle_command(), FileServerHandler::HandleAnnounce(), MainServer::HandleAnnounce(), MainServer::HandleCheckRecordingActive(), FileServerHandler::HandleDownloadFile(), MainServer::HandleDownloadFile(), FileServerHandler::HandleFileQuery(), MainServer::HandleFillProgramInfo(), MainServer::HandleGenPreviewPixmap(), FileServerHandler::HandleGetFileList(), MainServer::HandleGetFreeRecorder(), MainServer::HandleIsActiveBackendQuery(), MainServer::HandleLockTuner(), MainServer::HandlePixmapGetIfModified(), MainServer::HandlePixmapLastModified(), MainServer::HandleQueryCheckFile(), FileServerHandler::HandleQueryFileExists(), MainServer::HandleQueryFileExists(), FileServerHandler::HandleQueryFileHash(), MainServer::HandleQueryFileHash(), BaseRequestHandler::HandleQueryHostname(), MainServer::HandleQueryHostname(), MainServer::HandleQueryRecordings(), MainServer::HandleSGFileQuery(), MainServer::HandleSGGetFileList(), HardwareProfile::HardwareProfile(), helloID(), HostnameSetting::HostnameSetting(), HTTPLiveStream::HTTPLiveStream(), MediaServer::Init(), MythUIHelperPrivate::Init(), init_jobs(), VideoOutput::InitDisplayMeasurements(), Frontend::InitialiseActions(), insertGrabberInDB(), CardUtil::IsCardTypePresent(), IsFrontendOnly(), IsMasterHost(), IsThisHost(), StorageGroupEditor::Load(), InputSelector::Load(), StorageGroupListEditor::Load(), VideoSourceSelector::Load(), CaptureCardEditor::Load(), CardInputEditor::Load(), RecordingProfile::loadByType(), VideoSetupWizard::loadData(), ScreenSetup::loadData(), SourceSetup::loadData(), LoadFromRecorded(), main(), MainServer::MainServer(), ProgramInfo::MarkAsInUse(), MythPlayer::MythPlayer(), StorageGroupEditor::open(), BrowserApi::Pause(), BrowserApi::Play(), PlaybackProfileConfig::PlaybackProfileConfig(), PlaybackProfileConfigs::PlaybackProfileConfigs(), PlaybackSock::PlaybackSock(), BrowserApi::PlayFile(), BrowserApi::PlayTrack(), BrowserApi::PlayURL(), VideoSetupWizard::playVideoTest(), DatabaseLogger::prepare(), WeatherSource::ProbeScript(), NetworkControl::processPlay(), HttpConfig::ProcessRequest(), MythFrontendStatus::ProcessRequest(), FileServerHandler::QueryFileSystems(), HouseKeeperTask::QueryLastRun(), RebuildSeekTable(), MainServer::reconnectTimeout(), JobQueue::RecoverQueue(), MythRAOPDevice::RegisterForBonjour(), RemoteGetFileList(), removeGrabberFromDB(), MythDownloadManager::run(), SystemEventThread::run(), PreviewGenerator::Run(), MetadataImageDownload::run(), PreviewGenerator::RunReal(), VideoSetupWizard::save(), ScreenSetup::saveData(), ScanVideoDirectory(), SendMythSystemPlayEvent(), sendPlaybackEnd(), sendPlaybackStart(), SendSystemEvent(), SendSystemEvent(), PlayerContext::SetTVChain(), RemoteEncoder::Setup(), Weather::SetupScreens(), SourceManager::setupSources(), setupTVs(), BrowserApi::SetVolume(), TV::ShowOSDPromptDeleteRecording(), MythAirplayServer::Start(), HouseKeeper::Start(), RecordingInfo::StartedRecording(), StatusBox::StatusBox(), BrowserApi::Stop(), MythContextPrivate::TestDBconnection(), ThemeChooser::ThemeChooser(), HouseKeeperTask::UpdateLastRun(), VideoDisplayProfile::VideoDisplayProfile(), and Scheduler::WakeUpSlave().

QString MythCoreContext::GetFilePrefix ( void  )

Definition at line 785 of file mythcorecontext.cpp.

Referenced by AutoExpire::ExpireEpisodesOverMax().

bool MythCoreContext::IsConnectedToMaster ( void  )
void MythCoreContext::SetBackend ( bool  backend)

Definition at line 592 of file mythcorecontext.cpp.

Referenced by main().

bool MythCoreContext::IsBackend ( void  ) const
bool MythCoreContext::IsFrontendOnly ( void  )

is there a frontend, but no backend, running on this host

Definition at line 647 of file mythcorecontext.cpp.

Referenced by IdleScreen::customEvent(), WelcomeDialog::customEvent(), ExitPrompter::handleExit(), and WelcomeDialog::shutdownNow().

bool MythCoreContext::IsMasterHost ( void  )
bool MythCoreContext::IsMasterHost ( const QString &  host)

Definition at line 608 of file mythcorecontext.cpp.

bool MythCoreContext::IsMasterBackend ( void  )
bool MythCoreContext::BackendIsRunning ( void  )

a backend process is running on this host

Definition at line 618 of file mythcorecontext.cpp.

Referenced by StartPrompter::handleStart(), and RawSettingsEditor::Save().

bool MythCoreContext::IsThisHost ( const QString &  addr)
bool MythCoreContext::IsThisHost ( const QString &  addr,
const QString &  host 
)

Definition at line 639 of file mythcorecontext.cpp.

void MythCoreContext::BlockShutdown ( void  )

Definition at line 543 of file mythcorecontext.cpp.

Referenced by MythMainWindow::ExitStandby(), and JobQueue::ProcessQueue().

void MythCoreContext::AllowShutdown ( void  )

Definition at line 565 of file mythcorecontext.cpp.

Referenced by MythMainWindow::EnterStandby(), and JobQueue::ProcessQueue().

bool MythCoreContext::IsBlockingClient ( void  ) const

is this client blocking shutdown

Definition at line 587 of file mythcorecontext.cpp.

Referenced by JobQueue::ProcessQueue().

bool MythCoreContext::SendReceiveStringList ( QStringList &  strlist,
bool  quicTimeout = false,
bool  block = true 
)
void MythCoreContext::SendMessage ( const QString &  message)
void MythCoreContext::SendEvent ( const MythEvent event)
void MythCoreContext::SendSystemEvent ( const QString &  msg)
void MythCoreContext::SendHostSystemEvent ( const QString &  msg,
const QString &  hostname,
const QString &  args 
)

Definition at line 1115 of file mythcorecontext.cpp.

void MythCoreContext::SetGUIObject ( QObject *  gui)
QObject * MythCoreContext::GetGUIObject ( void  )
bool MythCoreContext::HasGUI ( void  ) const
bool MythCoreContext::IsUIThread ( void  )
MythDB * MythCoreContext::GetDB ( void  )
MDBManager * MythCoreContext::GetDBManager ( void  )

Definition at line 806 of file mythcorecontext.cpp.

Referenced by MythContextPrivate::ResetDatabase().

MythScheduler * MythCoreContext::GetScheduler ( void  )
bool MythCoreContext::IsDatabaseIgnored ( void  ) const

/brief Returns true if database is being ignored.

This was created for some command line only programs which still need MythTV libraries, such as channel scanners, channel change programs, and the off-line commercial flagger.

Definition at line 817 of file mythcorecontext.cpp.

Referenced by MythDVDPlayer::GetBookmark(), MythPlayer::GetBookmark(), PlayerContext::GetFilters(), DeleteMap::IsSaved(), DeleteMap::LoadAutoSaveMap(), DeleteMap::LoadMap(), MythPlayer::OpenFile(), ProgramInfo::ProgramInfo(), ProgramInfo::QueryTotalDuration(), DeleteMap::SaveMap(), PlayerContext::SetPlayingInfo(), and VideoOutput::VideoOutput().

DatabaseParams MythCoreContext::GetDatabaseParams ( void  )
inline
void MythCoreContext::SaveSetting ( const QString &  key,
int  newValue 
)

Definition at line 822 of file mythcorecontext.cpp.

Referenced by MythPlayer::AdjustAudioTimecodeOffset(), AirPlayHardwareId(), ThemeUpdateChecker::checkForUpdate(), ThemeChooser::customEvent(), EditAlbumartDialog::customEvent(), MusicPlayer::customEvent(), MusicPlayer::decoderHandlerReady(), HardwareProfile::DeleteProfile(), doBurnDVD(), ParentalLevelChangeCheckerPrivate::DoCheck(), doNativeArchive(), doUpgradeMusicDatabaseSchema(), getTempDirectory(), handleCDMedia(), ProgramRecPriority::keyPressEvent(), MythTranslation::load(), ThemeChooser::Load(), main(), mythplugin_init(), ParentalLevelChangeCheckerPrivate::OnPasswordEntered(), MythPlayer::OpenFile(), PlaybackBox::PlaybackBox(), ThemeChooser::refreshDownloadableThemes(), MythBurn::runScript(), AudioSetupWizard::save(), LanguageSelection::Save(), RawSettingsEditor::Save(), ThemeChooser::saveAndReload(), VideoFilterSettings::saveAsDefault(), DVDThemeSelector::saveConfiguration(), SelectDestination::saveConfiguration(), MusicPlayer::savePosition(), VideoDialog::SavePosition(), VideoColourSpace::SaveValue(), PlaybackBox::saveViewChanges(), VolumeBase::SetCurrentVolume(), PlaybackBox::setGroupFilter(), AudioOutputBase::SetSWVolume(), SubtitleScreen::SetZoom(), ScreenWizard::slotResetSettings(), VisualizationSettings::slotSave(), RatingSettings::slotSave(), ImportSettings::slotSave(), GeneralSettings::slotSave(), MetadataSettings::slotSave(), PlayerSettings::slotSave(), GrabberSettings::slotSave(), BrowserConfig::slotSave(), ScreenWizard::slotSaveSettings(), HardwareProfile::SubmitProfile(), VideoDialog::SwitchLayout(), NetTree::switchView(), ThemeUpdateChecker::ThemeUpdateChecker(), VideoDialog::ToggleBrowseMode(), VideoDialog::ToggleFlatView(), MythPlayer::ToggleNightMode(), NetTree::toggleRSSUpdates(), NetTree::toggleTreeUpdates(), TV::UpdateChannelList(), ArchiveFileSelector::~ArchiveFileSelector(), ChannelRecPriority::~ChannelRecPriority(), GLSingleView::~GLSingleView(), GuideGrid::~GuideGrid(), ImportMusicDialog::~ImportMusicDialog(), LogViewer::~LogViewer(), MainVisual::~MainVisual(), MusicPlayer::~MusicPlayer(), ProgDetails::~ProgDetails(), SingleView::~SingleView(), StatusBox::~StatusBox(), VideoDialogPrivate::~VideoDialogPrivate(), ViewScheduled::~ViewScheduled(), ZMEvents::~ZMEvents(), and ZMLivePlayer::~ZMLivePlayer().

void MythCoreContext::SaveSetting ( const QString &  key,
const QString &  newValue 
)

Definition at line 827 of file mythcorecontext.cpp.

QString MythCoreContext::GetSetting ( const QString &  key,
const QString &  defaultval = "" 
)

Definition at line 839 of file mythcorecontext.cpp.

Referenced by FileScanner::AddFileToDB(), UPnpCDSMusic::AddItem(), UPnpCDSVideo::AddItem(), UPNPScanner::AddServer(), AirPlayHardwareId(), VideoPlayerCommandPrivate::AltPlayerFor(), ArchiveFileSelector::ArchiveFileSelector(), AudioDeviceComboBox::AudioDeviceComboBox(), AudioConfigSettings::AudioRescan(), StartPrompter::backendRunningPrompt(), DBUtil::BackupDB(), GameUI::BuildTree(), burnISOImage(), DiSEqCDevRotor::CalculateAzimuth(), LogViewer::cancelClicked(), Myth::ChangePassword(), ThemeUpdateChecker::checkForUpdate(), AudioConfigSettings::CheckPassthrough(), Scheduler::CheckShutdownServer(), checkStoragePaths(), ClassicLogoDetector::ClassicLogoDetector(), SchemaUpgradeWizard::Compare(), RecordingProfile::CompleteLoad(), connect_to_master(), ConnectCommandSocket(), ConnectToMasterServer(), ImportSettings::Create(), GeneralSettings::Create(), ProgDetails::Create(), PlayerSettings::Create(), ManualSchedule::Create(), GameUI::Create(), BrowserConfig::Create(), ImportMusicDialog::Create(), Playlist::CreateCDMP3(), createISOImage(), PlaybackBox::createJobMenu(), PlayerContext::CreatePlayer(), PlaybackBox::createPlaylistJobMenu(), IdleScreen::customEvent(), WelcomeDialog::customEvent(), MythSystemEventHandler::customEvent(), MusicPlayer::customEvent(), DecodeVBIFormat(), MediaMonitor::defaultDevice(), DBUtil::DoBackup(), BurnMenu::doBurn(), ParentalLevelChangeCheckerPrivate::DoCheck(), MythFillDatabaseTask::DoCheckRun(), OutboundRequestHandler::DoConnectToMaster(), NativeArchive::doImportArchive(), StatusBox::doListingsStatus(), ThemeUpdateTask::DoRun(), MythFillDatabaseTask::DoRun(), doUpgradeMusicDatabaseSchema(), doUpgradeTVDatabaseSchema(), doUpgradeVideoDatabaseSchema(), ScheduleCommon::EditRecording(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), MusicMetadata::Filename(), filenameFromMetadata(), Scheduler::FillRecordingDir(), HttpStatus::FillStatusXML(), EditMetadataDialog::FindBanner(), EditRomInfoDialog::FindBoxart(), EditMetadataDialog::FindCoverArt(), EditRomInfoDialog::FindFanart(), EditMetadataDialog::FindFanart(), StorageGroup::FindFileDir(), findIcon(), EditRomInfoDialog::FindScreenshot(), EditMetadataDialog::FindScreenshot(), EditMetadataDialog::FindTrailer(), ImportNative::finishedPressed(), FromProgramQuery(), GalleryFilterDialog::GalleryFilterDialog(), HardwareProfile::GetAdminPasswordFromFile(), Content::GetAlbumArt(), Video::GetBluray(), Myth::GetConnectionInfo(), ZMEvents::getDateList(), MythBurn::getDefaultProfile(), getFileDetails(), GetFilePrefix(), ChannelInfo::GetFormatted(), MetadataDownload::GetGameGrabber(), JobQueue::GetJobCommand(), JobQueue::GetJobDescription(), GetLanguageAndVariant(), getLocalWritePath(), GetMasterHostPrefix(), MetadataDownload::GetMovieGrabber(), Content::GetMusic(), getMusicDirectory(), GetMythXMLURL(), ProgramInfo::GetPlaybackURL(), HardwareProfile::GetProfileURL(), MythFEXML::GetScreenShot(), MetadataDownload::GetTelevisionGrabber(), getTempDirectory(), ThumbGenerator::getThumbcacheDir(), GetVideoDirsByHost(), GLSingleView::GLSingleView(), GuiVidModeResolution(), ExitPrompter::halt(), MythBurn::handleAddFile(), MainServer::HandleFillProgramInfo(), MainServer::HandleGetFreeRecorder(), MainServer::HandleGetNextFreeRecorder(), MainServer::HandleGetRecorderFromNum(), MainServer::HandleGetRecorderNum(), MainServer::HandleGoToSleep(), MainServer::HandleQueryRecordings(), MythAirplayServer::HandleResponse(), Scheduler::HandleRunSchedulerStartup(), MainServer::HandleSGFileQuery(), MainServer::HandleSGGetFileList(), HardwareProfile::HardwareProfile(), NativeArchive::importRecording(), NativeArchive::importVideo(), StorageGroup::Init(), MythTranslationPrivate::Init(), GrabberSettings::Init(), AudioSetupWizard::Init(), V4LChannel::Init(), ThemeChooser::Init(), LCDProcClient::init(), TVRec::Init(), InitializeDatabase(), V4LChannel::InitializeInputs(), ChannelBase::InitializeInputs(), EditPowerSearchPopup::initLists(), JobQueue::InJobRunWindow(), DBUtil::IsBackupInProgress(), UPnpCDSTv::IsBrowseRequestForUs(), UPnpCDSVideo::IsBrowseRequestForUs(), IsMasterHost(), ISO639_fill_selections(), iso639_get_language_list(), UPnpCDSTv::IsSearchRequestForUs(), UPnpCDSVideo::IsSearchRequestForUs(), JobAllowUserJob(), JobQueue::JobText(), WelcomeDialog::keyPressEvent(), MusicCommon::keyPressEvent(), MythTranslation::LanguageChanged(), LanguageSelection::LanguageSelection(), ThemeChooser::Load(), RawSettingsEditor::Load(), PostProcMixin::Load(), TransFreqTableSelector::Load(), DVDThemeSelector::loadConfiguration(), SelectDestination::loadConfiguration(), ExportNative::loadConfiguration(), MythBurn::loadConfiguration(), VideoDialog::loadData(), MythBurn::loadEncoderProfiles(), LCDProcClient::loadSettings(), MusicPlayer::loadSettings(), TextSubtitleParser::LoadSubtitles(), XMLParse::LoadTheme(), main(), MainServer::MainServer(), MediaMonitor::MediaMonitor(), MetaIO::MetaIO(), MusicPlayer::MusicPlayer(), MythLanguage(), MythPlayer::MythPlayer(), mythplugin_init(), CECAdapterPriv::Open(), MythRAOPConnection::OpenAudioDevice(), AudioOutputCA::OpenDevice(), BDRingBuffer::OpenFile(), AudioOutputALSA::OpenMixer(), MusicPlayer::openOutputDevice(), ParentalLevelChangeCheckerPrivate::ParentalLevelChangeCheckerPrivate(), PlaybackBox::PlaybackBox(), playDisc(), VideoPlayerCommandPrivate::PlayerFor(), MythFrontendStatus::ProcessRequest(), MythRAOPConnection::ProcessRequest(), Myth::ProfileUpdated(), ProgramInfo::ProgramInfo(), LanguageSelection::prompt(), DBUtil::QueryDBMSVersion(), ExitPrompter::reboot(), AudioOutputBase::Reconfigure(), MainServer::reconnectTimeout(), RecordingInfo::RecordingInfo(), reloadTheme(), FileScanner::RemoveFileFromDB(), GalleryUtil::Rename(), GalleryUtil::RenameDirectory(), CDRipperThread::ripTrack(), run(), CDRipperThread::run(), run_backend(), WelcomeDialog::runMythFillDatabase(), runTestDVD(), TransFreqTableSelector::Save(), ThemeChooser::saveAndReload(), ImportCoverArtDialog::scanDirectory(), EditMetadataCommon::scanForImages(), AvFormatDecoder::ScanStreams(), ServerPool::SelectDefaultListen(), MusicMetadata::setArtistAndTrackFormats(), VolumeBase::SetCurrentVolume(), ZMLivePlayer::setMonitorLayout(), MpegRecorder::SetOptionsFromProfile(), ImportRecorder::SetOptionsFromProfile(), DTVRecorder::SetOptionsFromProfile(), ASIRecorder::SetOptionsFromProfile(), NuppelVideoRecorder::SetOptionsFromProfile(), HTTPLiveStream::SetOutputVars(), StartingChannel::SetSourceID(), setting_to_localtime(), LCDProcClient::SetupLCD(), ZMClient::setupZMClient(), AudioOutputPulseAudio::SetVolumeChannel(), ProgFinder::showGuide(), VideoDialog::ShowHomepage(), ViewScheduleDiff::showStatus(), NetSearch::showWebVideo(), NetTree::showWebVideo(), shutdown(), WelcomeDialog::shutdownNow(), Scheduler::ShutdownServer(), SingleView::SingleView(), BookmarkManager::slotBookmarkClicked(), GeneralSetupWizard::slotDelete(), BookmarkManager::slotShowMarked(), GeneralSetupWizard::slotView(), TVRec::SpawnLiveTV(), UPNPScanner::Start(), BurnMenu::start(), AudioConfigSettings::StartAudioTest(), EditAlbumartDialog::startCopyImageToTag(), startDatabaseTree(), WelcomeDialog::startFrontend(), startGuide(), StartPrompter::stopBackend(), ThemeUpdateChecker::ThemeUpdateChecker(), ProgramInfo::ToMap(), MythDate::toString(), Transcode::TranscodeFile(), AudioConfigSettings::UpdateCapabilities(), GameHandler::UpdateGameDB(), PlaybackBox::UpdateUILists(), UpgradeArchiveDatabaseSchema(), UpgradeBrowserDatabaseSchema(), UpgradeGalleryDatabaseSchema(), UpgradeGameDatabaseSchema(), UpgradeNewsDatabaseSchema(), VideoDialogPrivate::VideoDialogPrivate(), VolumeBase::VolumeBase(), AudioOutputOSS::VolumeInit(), AudioOutputJACK::VolumeInit(), Scheduler::WasStartedAutomatically(), WelcomeDialog::WelcomeDialog(), and ZMConsole::ZMConsole().

bool MythCoreContext::SaveSettingOnHost ( const QString &  key,
const QString &  newValue,
const QString &  host 
)
int MythCoreContext::GetNumSetting ( const QString &  key,
int  defaultval = 0 
)

Definition at line 845 of file mythcorecontext.cpp.

Referenced by Scheduler::AddNewRecords(), JobQueue::AllowedToRun(), AudioConfigSettings::AudioAdvanced(), AudioConfigSettings::AudioConfigSettings(), AudioOutputALSA::AudioOutputALSA(), AudioOutputBase::AudioOutputBase(), AudioPlayer::AudioPlayer(), AudioTest::AudioTest(), DBUtil::BackupDB(), VoqvFullscreen::BeginPort(), BlankFrameDetector::BlankFrameDetector(), BorderDetector::BorderDetector(), burnISOImage(), AutoExpire::CalcParams(), AudioOutputBase::CanPassthrough(), CECAdapter::CECAdapter(), ChannelRecPriority::ChannelRecPriority(), WelcomeDialog::checkAutoStart(), AudioConfigSettings::CheckPassthrough(), Scheduler::CheckShutdownServer(), ClassicCommDetector::ClassicCommDetector(), ClassicLogoDetector::ClassicLogoDetector(), CleanupTask::CleanupProgramListings(), CommBreakMap::CommBreakMap(), CompleteJob(), connect_to_master(), ConnectCommandSocket(), AudioOutputPulseAudio::ConnectPlaybackStream(), LCDProcClient::connectToHost(), ConnectToMasterServer(), RatingSettings::Create(), VisualizationSettings::Create(), ImportSettings::Create(), PlayerSettings::Create(), GeneralSettings::Create(), MetadataSettings::Create(), AudioSetupWizard::Create(), ManualSchedule::Create(), ZMEvents::Create(), BrowserConfig::Create(), VideoDialog::Create(), Ripper::Create(), Playlist::CreateCDMP3(), MusicCommon::CreateCommon(), PlayerContext::CreatePlayer(), VideoDialog::CreatePlayMenu(), IdleScreen::customEvent(), WelcomeDialog::customEvent(), MainServer::customEvent(), MusicPlayer::customEvent(), MusicPlayer::decoderHandlerReady(), DeleteThread::DeleteThread(), DetectLetterbox::DetectLetterbox(), ParentalLevelChangeCheckerPrivate::DoCheck(), HardwareProfileTask::DoCheckRun(), MythFillDatabaseTask::DoCheckRun(), OutboundRequestHandler::DoConnectToMaster(), MainServer::DoDeleteThread(), MainServer::DoHandleUndeleteRecording(), PlaybackBox::doJobQueueJob(), PlaybackBox::doPlaylistJobQueueJob(), MainServer::DoTruncateThread(), doUpgradeTVDatabaseSchema(), Ripper::ejectCD(), MythUDPListener::Enable(), SubtitleScreen::EnableSubtitles(), VoqvFullscreen::EndPort(), MythMainWindow::ExitStandby(), AutoExpire::ExpireEpisodesOverMax(), MusicMetadata::Filename(), filenameFromMetadata(), AutoExpire::FillDBOrdered(), AutoExpire::FillExpireList(), TV::FillOSDMenuJumpRec(), Scheduler::FillRecordingDir(), PlayerSettings::fillRegionList(), HttpStatus::FillStatusXML(), findIcon(), FlagCommercials(), AutoExpire::GetAllExpiring(), JobQueue::GetJobsInQueue(), GetMasterHostPrefix(), AudioOutputSettings::GetMaxHDRate(), ProgramInfo::GetPlaybackURL(), TVRec::GetProgramRingBufferForLiveTV(), ThumbGenerator::getThumbcacheDir(), AudioOutputSettings::GetUsers(), GLSingleView::GLSingleView(), PrePostRollFlagger::go(), ClassicCommDetector::go(), GrabberManager::GrabberManager(), handleCDMedia(), MainServer::HandleDeleteFile(), handleDVDMedia(), ExitPrompter::handleExit(), handleMedia(), MythAirplayServer::HandleResponse(), TV::HandleStateChange(), HardwareProfile::HardwareProfile(), HistogramAnalyzer::HistogramAnalyzer(), HttpStatus::HttpStatus(), MythMainWindow::IdleTimeout(), ImageView::ImageView(), VideoOutputQuartz::Init(), GrabberSettings::Init(), StatusBox::Init(), AudioSetupWizard::Init(), MythRAOPConnection::Init(), PlaybackBox::Init(), TVRec::Init(), MythRemoteLineEdit::Init(), TV::Init(), ZMLivePlayer::initMonitorLayout(), AudioOutputBase::InitSettings(), AvFormatDecoder::InitVideoCodec(), RecordingQuality::IsDamaged(), JobQueue::JobQueue(), LinuxFirewireDevice::LinuxFirewireDevice(), ThemeChooser::Load(), SelectDestination::loadConfiguration(), LoadFromRecorded(), MusicPlayer::loadPlaylist(), MusicPlayer::loadSettings(), PreviewGenerator::LocalPreviewRun(), LogViewer::LogViewer(), main(), MainServer::MainServer(), MainVisual::MainVisual(), TV::MenuItemDisplayPlayback(), MusicCommon::MusicCommon(), MythComboBox::MythComboBox(), MythLineEdit::MythLineEdit(), MythMainWindow::MythMainWindow(), MythPlayer::MythPlayer(), mythplugin_init(), MythPopupBox::MythPopupBox(), nearestName(), NetTree::NetTree(), CECAdapterPriv::Open(), MythRAOPConnection::OpenAudioDevice(), AudioOutputALSA::OpenDevice(), AudioOutputCA::OpenDevice(), BDRingBuffer::OpenFile(), AudioOutputALSA::OpenMixer(), MusicPlayer::openOutputDevice(), PlaybackBox::PlaybackBox(), VideoDialog::playVideoWithTrailers(), NetworkControl::processQuery(), JobQueue::ProcessQueue(), MythRAOPConnection::ProcessRequest(), ProgramRecPriority::ProgramRecPriority(), Scheduler::PutInactiveSlavesToSleep(), JobQueue::QueueJobs(), JobQueue::QueueRecordingJobs(), MetaIO::readMetadata(), AudioOutputBase::Reconfigure(), MainServer::reconnectTimeout(), JobQueue::RecoverQueue(), MythRAOPDevice::RegisterForBonjour(), RemoteUndeleteRecording(), MusicPlayer::restorePosition(), Ripper::RipComplete(), RSSManager::RSSManager(), CDRipperThread::run(), Scheduler::run(), GrabberDownloadThread::run(), run_backend(), AutoExpire::RunExpirer(), RunNetTree(), GuideGrid::RunProgramGuide(), RunVideoScreen(), PreviewGenerator::SavePreview(), SceneChangeDetector::SceneChangeDetector(), Scheduler::SchedLiveTV(), Scheduler::SchedNewRecords(), SchemaUpgradeWizard::SchemaUpgradeWizard(), ServerPool::SelectDefaultListen(), SendReceiveStringList(), PlaybackBox::setGroupFilter(), MythFillDatabaseTask::SetHourWindowFromDB(), PlayerContext::SetInitialTVState(), setScheduledWakeupTime(), DeviceReadBuffer::Setup(), LCDProcClient::SetupLCD(), ZMClient::setupZMClient(), VideoOutWindow::SetVideoScalingAllowed(), ThemeChooser::showPopupMenu(), WelcomeDialog::shutdownNow(), Scheduler::ShutdownServer(), SingleView::SingleView(), startAppearWiz(), AudioConfigSettings::StartAudioTest(), StatusBox::StatusBox(), TemplateFinder::TemplateFinder(), TemplateMatcher::TemplateMatcher(), MythPlayer::ToggleNightMode(), ThemeChooser::toggleThemeUpdateNotifications(), Transcode::TranscodeFile(), AudioConfigSettings::UpdateCapabilities(), TV::UpdateOSDProgInfo(), TV::UpdateOSDStatus(), PlaybackBox::UpdateUILists(), MythFillDatabaseTask::UseSuggestedTime(), VideoColourSpace::VideoColourSpace(), VideoDialogPrivate::VideoDialogPrivate(), VideoFilterSettings::VideoFilterSettings(), VideoListImp::VideoListImp(), VideoDialog::VideoMenu(), VideoOutput::VideoOutput(), VideoOutputOpenGL::VideoOutputOpenGL(), VideoOutputVDPAU::VideoOutputVDPAU(), VideoOutputXv::VideoOutputXv(), VideoOutWindow::VideoOutWindow(), VideoScannerThread::VideoScannerThread(), VolumeBase::VolumeBase(), AudioOutputOSS::VolumeInit(), AudioOutputJACK::VolumeInit(), WelcomeDialog::WelcomeDialog(), and GuideGrid::~GuideGrid().

double MythCoreContext::GetFloatSetting ( const QString &  key,
double  defaultval = 0.0 
)

Definition at line 850 of file mythcorecontext.cpp.

void MythCoreContext::GetResolutionSetting ( const QString &  type,
int width,
int height,
double &  forced_aspect,
double &  refreshrate,
int  index = -1 
)
void MythCoreContext::GetResolutionSetting ( const QString &  type,
int width,
int height,
int  index = -1 
)

Definition at line 800 of file mythcorecontext.cpp.

QString MythCoreContext::GetSettingOnHost ( const QString &  key,
const QString &  host,
const QString &  defaultval = "" 
)
int MythCoreContext::GetNumSettingOnHost ( const QString &  key,
const QString &  host,
int  defaultval = 0 
)

Definition at line 862 of file mythcorecontext.cpp.

Referenced by GetMythXMLURL(), and RemoteGetFileList().

double MythCoreContext::GetFloatSettingOnHost ( const QString &  key,
const QString &  host,
double  defaultval = 0.0 
)
QString MythCoreContext::GetBackendServerIP ( void  )
QString MythCoreContext::GetBackendServerIP ( const QString &  host)

Definition at line 900 of file mythcorecontext.cpp.

void MythCoreContext::ClearSettingsCache ( const QString &  myKey = QString(""))
void MythCoreContext::ActivateSettingsCache ( bool  activate = true)
void MythCoreContext::OverrideSettingForSession ( const QString &  key,
const QString &  value 
)
void MythCoreContext::ClearOverrideSettingForSession ( const QString &  key)

Definition at line 937 of file mythcorecontext.cpp.

Referenced by MythContextPrivate::EndTempWindow().

void MythCoreContext::dispatch ( const MythEvent event)

Dispatch an event to all listeners.

Makes a copy of the event on the heap by calling MythEvent::clone() and dispatches is by calling QCoreApplication::postEvent().

Parameters
eventMythEvent to dispatch.

Reimplemented from MythObservable.

Definition at line 1223 of file mythcorecontext.cpp.

Referenced by LiveTVChain::BroadcastUpdate(), MainServer::connectionClosed(), connectionClosed(), MainServer::customEvent(), MythWebView::customEvent(), MusicPlayer::customEvent(), MythMainWindow::ExitToMainMenu(), AutoExpire::ExpireEpisodesOverMax(), TVRec::FinishedRecording(), BrowserApi::GetMetadata(), TVRec::GetProgramRingBufferForLiveTV(), BrowserApi::GetVolume(), MainServer::HandleAnnounce(), Scheduler::HandleIdleShutdown(), MessageHandler::HandleInbound(), MainServer::HandleMessage(), MessageHandler::HandleOutbound(), TVRec::HandlePendingRecordings(), Scheduler::HandleRecordingStatusChange(), TVRec::NotifySchedulerOfRecording(), TV::OSDDialogEvent(), BrowserApi::Pause(), JobQueue::PauseJob(), BrowserApi::Play(), BrowserApi::PlayFile(), Frontend::PlayRecording(), BrowserApi::PlayTrack(), BrowserApi::PlayURL(), PlaybackBox::processNetworkControlCommand(), TV::ProcessNetworkControlCommand(), NetworkControl::processPlay(), NetworkControl::processQuery(), MainServer::ProcessRequestWork(), readyRead(), Dvr::RemoveRecorded(), JobQueue::RestartJob(), JobQueue::ResumeJob(), Reconnect::run(), Scheduler::run(), SignalMonitor::run(), TVRec::run(), AutoExpire::SendDeleteMessages(), SendEvent(), SendMessage(), SendReceiveStringList(), ScheduledRecording::SendReschedule(), MainServer::SendSlaveDisconnectedEvent(), TVRec::SetLiveRecording(), BrowserApi::SetVolume(), Scheduler::ShutdownServer(), VisualizationSettings::slotSave(), RatingSettings::slotSave(), GeneralSettings::slotSave(), ImportSettings::slotSave(), TVRec::StartRecording(), TV::StartTV(), BrowserApi::Stop(), JobQueue::StopJob(), MHIContext::TuneTo(), TVRec::TuningFrequency(), TVRec::TuningNewRecorder(), TVRec::TuningSignalCheck(), and Scheduler::UpdateRecStatus().

void MythCoreContext::dispatchNow ( const MythEvent event)

Dispatch an event to all listeners.

This sends an event using the current thread, this is almost always unsafe.

Parameters
eventa MythEvent to dispatch.
Deprecated:
Do not use in new code

Reimplemented from MythObservable.

Definition at line 1230 of file mythcorecontext.cpp.

Referenced by sendPlaybackEnd(), and sendPlaybackStart().

void MythCoreContext::InitLocale ( void  )

Definition at line 1298 of file mythcorecontext.cpp.

Referenced by GetQLocale(), MythContextPrivate::Init(), and SaveLocaleDefaults().

void MythCoreContext::ReInitLocale ( void  )

Definition at line 1309 of file mythcorecontext.cpp.

Referenced by reloadTheme(), and resetTheme().

MythLocale * MythCoreContext::GetLocale ( void  ) const
const QLocale MythCoreContext::GetQLocale ( void  )
void MythCoreContext::SaveLocaleDefaults ( void  )

Definition at line 1330 of file mythcorecontext.cpp.

Referenced by MythContextPrivate::Init().

QString MythCoreContext::GetLanguage ( void  )
QString MythCoreContext::GetLanguageAndVariant ( void  )

Returns the user-set language and variant.

The string has the form ll or ll_vv, where ll is the two character ISO-639 language code, and vv (which may not exist) is the variant. Examples include en_AU, en_CA, en_GB, en_US, fr_CH, fr_DE, pt_BR, pt_PT.

Definition at line 1285 of file mythcorecontext.cpp.

Referenced by MythUIVirtualKeyboard::Create(), GetLanguage(), MythUIText::ParseElement(), and MythThemedMenu::parseThemeButton().

void MythCoreContext::ResetLanguage ( void  )

Definition at line 1293 of file mythcorecontext.cpp.

Referenced by MythUIHelper::LoadQtConfig().

void MythCoreContext::RegisterForPlayback ( QObject *  sender,
const char *  method 
)

Register sender for TVPlaybackAboutToStart signal.

Method will be called upon the signal being emitted. sender must call MythCoreContext::UnregisterForPlayback upon deletion

Definition at line 1398 of file mythcorecontext.cpp.

Referenced by TV::InitFromDB(), and MythRAOPDevice::newConnection().

void MythCoreContext::UnregisterForPlayback ( QObject *  sender)

Unregister sender from being called when TVPlaybackAboutToStart signal is emitted.

Definition at line 1416 of file mythcorecontext.cpp.

Referenced by TV::~TV().

void MythCoreContext::WantingPlayback ( QObject *  sender)

All the objects that have registered using MythCoreContext::RegisterForPlayback but sender will be called.

The object's registered method will be called in a blocking fashion, each of them being called one after the other

Definition at line 1436 of file mythcorecontext.cpp.

Referenced by MythRAOPConnection::ProcessRequest(), and TV::StartTV().

bool MythCoreContext::TestPluginVersion ( const QString &  name,
const QString &  libversion,
const QString &  pluginversion 
)

Definition at line 1457 of file mythcorecontext.cpp.

Referenced by mythplugin_init().

void MythCoreContext::SetPluginManager ( MythPluginManager pmanager)

Definition at line 1471 of file mythcorecontext.cpp.

Referenced by main().

MythPluginManager * MythCoreContext::GetPluginManager ( void  )

Definition at line 1485 of file mythcorecontext.cpp.

Referenced by configplugin_cb(), MythThemedMenu::findDepends(), and plugin_cb().

void MythCoreContext::WaitUntilSignals ( const char *  signal1,
  ... 
)

Wait until either of the provided signals have been received.

signal1 being declared as SIGNAL(SignalName(args,..))

Definition at line 1363 of file mythcorecontext.cpp.

Referenced by MythAirplayServer::PausePlayback(), MythAirplayServer::SeekPosition(), MythAirplayServer::StartPlayback(), MythAirplayServer::StopPlayback(), and MythAirplayServer::UnpausePlayback().

void MythCoreContext::emitTVPlaybackStarted ( void  )
inline

Definition at line 189 of file mythcorecontext.h.

Referenced by TV::StartTV().

void MythCoreContext::emitTVPlaybackStopped ( void  )
inline

Definition at line 190 of file mythcorecontext.h.

Referenced by TV::StartTV().

void MythCoreContext::emitTVPlaybackSought ( qint64  position)
inline

Definition at line 191 of file mythcorecontext.h.

Referenced by TV::DoSeekAbsolute().

void MythCoreContext::emitTVPlaybackPaused ( void  )
inline

Definition at line 192 of file mythcorecontext.h.

Referenced by TV::DoTogglePause().

void MythCoreContext::emitTVPlaybackUnpaused ( void  )
inline

Definition at line 193 of file mythcorecontext.h.

Referenced by TV::DoPlay(), and TV::DoTogglePause().

void MythCoreContext::emitTVPlaybackAborted ( void  )
inline

Definition at line 194 of file mythcorecontext.h.

Referenced by TV::StartTV().

void MythCoreContext::emitTVPlaybackPlaying ( void  )
inline

Definition at line 195 of file mythcorecontext.h.

Referenced by TV::DoPlay().

void MythCoreContext::TVPlaybackStarted ( void  )
signal
void MythCoreContext::TVPlaybackStopped ( void  )
signal
void MythCoreContext::TVPlaybackSought ( qint64  position)
signal
void MythCoreContext::TVPlaybackPaused ( void  )
signal
void MythCoreContext::TVPlaybackUnpaused ( void  )
signal
void MythCoreContext::TVPlaybackAborted ( void  )
signal
void MythCoreContext::TVPlaybackAboutToStart ( void  )
signal
void MythCoreContext::TVPlaybackPlaying ( void  )
signal
void MythCoreContext::connected ( MythSocket sock)
inlineprivate

Definition at line 210 of file mythcorecontext.h.

void MythCoreContext::connectionFailed ( MythSocket sock)
inlineprivate

Definition at line 211 of file mythcorecontext.h.

void MythCoreContext::connectionClosed ( MythSocket sock)
private

Definition at line 1164 of file mythcorecontext.cpp.

void MythCoreContext::readyRead ( MythSocket sock)
private

Definition at line 1123 of file mythcorecontext.cpp.

Member Data Documentation

MythCoreContextPrivate* MythCoreContext::d
private

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