#include <mythcontext.h>

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 140 of file mythcontext.h.
Public Member Functions | |
| MythContext (const QString &binversion) | |
| virtual | ~MythContext () |
| bool | Init (const bool gui=true, UPnp *UPnPclient=NULL, const bool promptForBackend=false, const bool bypassAutoDiscovery=false) |
| QString | GetMasterHostPrefix (void) |
| QString | GetHostName (void) |
| void | ClearSettingsCache (QString myKey="", QString newVal="") |
| void | ActivateSettingsCache (bool activate=true) |
| void | OverrideSettingForSession (const QString &key, const QString &newValue) |
| Overrides the given setting for the execution time of the process. | |
| bool | ConnectToMasterServer (bool blockingClient=true) |
| MythSocket * | ConnectServer (MythSocket *eventSocket, const QString &hostname, int port, bool blockingClient=false) |
| bool | IsConnectedToMaster (void) |
| void | SetBackend (bool backend) |
| bool | IsBackend (void) |
| 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 | IsMasterBackend (void) |
| is this the actual MBE process | |
| bool | BackendIsRunning (void) |
| a backend process is running on this host | |
| void | BlockShutdown (void) |
| void | AllowShutdown (void) |
| QString | GetInstallPrefix (void) |
| QString | GetShareDir (void) |
| QString | GetLibraryDir (void) |
| QString | GetFilePrefix (void) |
| void | LoadQtConfig (void) |
| void | UpdateImageCache (void) |
| void | RefreshBackendConfig (void) |
| void | GetScreenSettings (float &wmult, float &hmult) |
| void | GetScreenSettings (int &width, float &wmult, int &height, float &hmult) |
| void | GetScreenSettings (int &xbase, int &width, float &wmult, int &ybase, int &height, float &hmult) |
| void | GetScreenBounds (int &xbase, int &ybase, int &width, int &height) |
| bool | ParseGeometryOverride (const QString geometry) |
| Parse an X11 style command line geometry string. | |
| QString | FindThemeDir (const QString &themename) |
| QString | FindMenuThemeDir (const QString &menuname) |
| QString | GetThemeDir (void) |
| QValueList< QString > | GetThemeSearchPath (void) |
| QString | GetMenuThemeDir (void) |
| QString | GetThemesParentDir (void) |
| QString | GetPluginsDir (void) |
| QString | GetPluginsNameFilter (void) |
| QString | FindPlugin (const QString &plugname) |
| QString | GetTranslationsDir (void) |
| QString | GetTranslationsNameFilter (void) |
| QString | FindTranslation (const QString &translation) |
| QString | GetFontsDir (void) |
| QString | GetFontsNameFilter (void) |
| QString | FindFont (const QString &fontname) |
| QString | GetFiltersDir (void) |
| MDBManager * | GetDBManager (void) |
| DatabaseParams | GetDatabaseParams (void) |
| bool | SaveDatabaseParams (const DatabaseParams ¶ms) |
| void | LogEntry (const QString &module, int priority, const QString &message, const QString &details) |
| Settings * | qtconfig (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, short &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) |
| void | SetSetting (const QString &key, const QString &newValue) |
| QFont | GetBigFont () |
| QFont | GetMediumFont () |
| QFont | GetSmallFont () |
| QString | GetLanguage (void) |
| Returns two character ISO-639 language descriptor for UI language. | |
| QString | GetLanguageAndVariant (void) |
| Returns the user-set language and variant. | |
| void | ThemeWidget (QWidget *widget) |
| bool | FindThemeFile (QString &filename) |
| QPixmap * | LoadScalePixmap (QString filename, bool fromcache=true) |
| QImage * | LoadScaleImage (QString filename, bool fromcache=true) |
| bool | SendReceiveStringList (QStringList &strlist, bool quickTimeout=false, bool block=true) |
| QImage * | CacheRemotePixmap (const QString &url, bool reCache=false) |
| void | SetMainWindow (MythMainWindow *mainwin) |
| MythMainWindow * | GetMainWindow (void) |
| int | PromptForSchemaUpgrade (const QString &dbver, const QString ¤t, const QString &backupResult) |
| Try to prevent silent, automatic database upgrades. | |
| bool | TestPopupVersion (const QString &name, const QString &libversion, const QString &pluginversion) |
| void | SetDisableLibraryPopup (bool check) |
| void | SetPluginManager (MythPluginManager *pmanager) |
| MythPluginManager * | getPluginManager (void) |
| bool | CheckProtoVersion (MythSocket *socket) |
| void | DisableScreensaver (void) |
| void | RestoreScreensaver (void) |
| void | ResetScreensaver (void) |
| void | DoDisableScreensaver (void) |
| void | DoRestoreScreensaver (void) |
| void | DoResetScreensaver (void) |
| bool | GetScreensaverEnabled (void) |
| bool | GetScreenIsAsleep (void) |
| void | addPrivRequest (MythPrivRequest::Type t, void *data) |
| void | waitPrivRequest () const |
| MythPrivRequest | popPrivRequest () |
| void | addCurrentLocation (QString location) |
| QString | removeCurrentLocation (void) |
| QString | getCurrentLocation (void) |
| void | dispatch (MythEvent &event) |
| Dispatch an event to all listeners. | |
| void | dispatchNow (MythEvent &event) |
| Dispatch an event to all listeners. | |
| void | sendPlaybackStart (void) |
| void | sendPlaybackEnd (void) |
Static Public Member Functions | |
| static QString | GetConfDir (void) |
| static void | DBError (const QString &where, const QSqlQuery &query) |
| static QString | DBErrorMessage (const QSqlError &err) |
| static void | SetX11Display (const QString &display) |
| This needs to be set before MythContext is initialized so that the MythContext::Init() can detect Xinerama setups. | |
| static QString | GetX11Display (void) |
Static Public Attributes | |
| static QMutex | verbose_mutex |
| static QString | x11_display = QString::null |
Private Member Functions | |
| void | SetPalette (QWidget *widget) |
| void | InitializeScreenSettings (void) |
| void | ClearOldImageCache (void) |
| void | CacheThemeImages (void) |
| void | CacheThemeImagesDirectory (const QString &dirname, const QString &subdirname="") |
| void | RemoveCacheDir (const QString &dirname) |
| void | connected (MythSocket *sock) |
| void | connectionClosed (MythSocket *sock) |
| void | readyRead (MythSocket *sock) |
| void | connectionFailed (MythSocket *sock) |
Private Attributes | |
| MythContextPrivate * | d |
| QString | app_binary_version |
| QMutex | locationLock |
| QValueList< QString > | currentLocation |
| MythContext::MythContext | ( | const QString & | binversion | ) |
Definition at line 1500 of file mythcontext.cpp.
| MythContext::~MythContext | ( | ) | [virtual] |
Definition at line 1579 of file mythcontext.cpp.
| QString MythContext::GetMasterHostPrefix | ( | void | ) |
Definition at line 1842 of file mythcontext.cpp.
Referenced by ChannelInfo::LoadChannelIcon(), and PixmapChannel::LoadChannelIcon().
| QString MythContext::GetHostName | ( | void | ) |
Definition at line 1895 of file mythcontext.cpp.
Referenced by BackendQueryDiskSpace(), BackendSettings::BackendSettings(), PlaybackProfileConfigs::btnPress(), StorageGroup::CheckAllStorageGroupDirs(), ChannelBase::CheckChannel(), checkStoragePaths(), CleanupMyOldInUsePrograms(), HouseKeeper::CleanupMyOldRecordings(), MythControls::Create(), MusicPlayer::customEvent(), StorageGroupListEditor::doDelete(), StorageGroupEditor::doDelete(), MainServer::DoHandleDeleteRecording(), MainServer::DoHandleStopRecording(), CaptureCardEditor::edit(), AutoExpire::ExpireRecordings(), CaptureCard::fillSelections(), HttpStatus::FillStatusXML(), SourceManager::findScripts(), SourceManager::findScriptsDB(), FlagCommercials(), ProgramList::FromRecorded(), get_cardtype(), DBUtil::GetBackupDirectory(), CardUtil::GetCardIDs(), getDBParamters(), MythMainWindow::GetKey(), Scheduler::GetNextLiveTVDir(), ProgramInfo::GetPlaybackURL(), MythXML::GetPreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), MythXML::GetRecording(), LogViewer::getSetting(), CardUtil::GetVideoDevices(), MainServer::HandleCheckRecordingActive(), MainServer::HandleFillProgramInfo(), MainServer::HandleGenPreviewPixmap(), MainServer::HandleGetFreeRecorder(), MainServer::HandleIsActiveBackendQuery(), MainServer::HandleLockTuner(), MainServer::HandlePixmapLastModified(), MainServer::HandleQueryCheckFile(), MainServer::HandleQueryRecordings(), HostnameSetting::HostnameSetting(), NativeArchive::importRecording(), init_jobs(), VideoOutputXv::InitDisplayMeasurements(), CardUtil::IsCardTypePresent(), IsFrontendOnly(), JobQueue::JobQueue(), TV::LiveTV(), CardInputEditor::load(), CaptureCardEditor::load(), VideoSourceSelector::load(), StorageGroupListEditor::load(), StorageGroupEditor::load(), InputSelector::load(), RecordingProfile::loadByType(), SourceSetup::loadData(), ScreenSetup::loadData(), CdDecoder::lookupCDDB(), main(), ProgramInfo::MarkAsInUse(), StorageGroupEditor::open(), RemoteEncoder::openControlSocket(), RemoteFile::openSocket(), PlaybackProfileConfig::PlaybackProfileConfig(), PlaybackProfileConfigs::PlaybackProfileConfigs(), PlaybackSock::PlaybackSock(), preMusic(), WeatherSource::probeScript(), MainServer::reconnectTimeout(), JobQueue::RecoverQueue(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), ScreenSaverX11Private::ResetTimer(), HouseKeeper::RunHouseKeeping(), TV::RunTV(), ScreenSetup::saveData(), SavePending(), sendPlaybackEnd(), sendPlaybackStart(), HostDBStorage::setClause(), Weather::setupScreens(), SourceManager::setupSources(), setupTVs(), ProgramInfo::StartedRecording(), StatusBox::StatusBox(), TV::TogglePIPView(), VideoDisplayProfile::VideoDisplayProfile(), and HostDBStorage::whereClause().
| void MythContext::ClearSettingsCache | ( | QString | myKey = "", |
|
| QString | newVal = "" | |||
| ) |
Definition at line 1860 of file mythcontext.cpp.
Referenced by ActivateSettingsCache(), MythPlugin::config(), MainServer::customEvent(), IconView::HandleSettings(), readyRead(), MythContextPrivate::ResetDatabase(), SaveSettingOnHost(), and SetSetting().
| void MythContext::ActivateSettingsCache | ( | bool | activate = true |
) |
Definition at line 1881 of file mythcontext.cpp.
Referenced by CheckSchemaVersion(), Init(), main(), mythplugin_init(), mythplugin_run(), MoviesUI::setupTheme(), signal_USR1_handler(), TVMenuCallback(), and MoviesUI::updateMovieTimes().
| void MythContext::OverrideSettingForSession | ( | const QString & | key, | |
| const QString & | value | |||
| ) |
Overrides the given setting for the execution time of the process.
This allows defining settings for the session only, without touching the settings in the data base.
Definition at line 3235 of file mythcontext.cpp.
Referenced by main().
Definition at line 1585 of file mythcontext.cpp.
Referenced by LCDProcClient::checkConnections(), WelcomeDialog::checkConnectionToServer(), FlagCommercials(), GetMasterHostPrefix(), isRecording(), main(), SendReceiveStringList(), setScheduledWakeupTime(), and LCDProcClient::updateRecordingList().
| MythSocket * MythContext::ConnectServer | ( | MythSocket * | eventSocket, | |
| const QString & | hostname, | |||
| int | port, | |||
| bool | blockingClient = false | |||
| ) |
Definition at line 1612 of file mythcontext.cpp.
Referenced by ConnectToMasterServer(), and PreviewGenerator::RemotePreviewSetup().
| bool MythContext::IsConnectedToMaster | ( | void | ) |
Definition at line 1733 of file mythcontext.cpp.
Referenced by LCDProcClient::checkConnections(), WelcomeDialog::checkConnectionToServer(), isRecording(), setScheduledWakeupTime(), WelcomeDialog::updateRecordingList(), LCDProcClient::updateRecordingList(), WelcomeDialog::updateScheduledList(), and WelcomeDialog::updateScreen().
| void MythContext::SetBackend | ( | bool | backend | ) |
| bool MythContext::IsBackend | ( | void | ) |
is this process a backend process
Definition at line 1793 of file mythcontext.cpp.
Referenced by ProgramList::FromScheduler(), IsMasterBackend(), ProgramInfo::MarkAsInUse(), RemoteGetFlags(), RemoteGetState(), RemoteIsBusy(), RemoteRecordPending(), RemoteStopLiveTV(), RemoteStopRecording(), and ScheduledRecording::signalChange().
| bool MythContext::IsFrontendOnly | ( | void | ) |
is there a frontend, but no backend, running on this host
Definition at line 1824 of file mythcontext.cpp.
Referenced by WelcomeDialog::customEvent(), handleExit(), MythWelcomeSettings::MythWelcomeSettings(), and WelcomeDialog::shutdownNow().
| bool MythContext::IsMasterHost | ( | void | ) |
is this the same host as the master
Definition at line 1798 of file mythcontext.cpp.
Referenced by IsMasterBackend(), main(), and upnp_rebuild().
| bool MythContext::IsMasterBackend | ( | void | ) |
is this the actual MBE process
Definition at line 1806 of file mythcontext.cpp.
Referenced by ConnectToMasterServer().
| bool MythContext::BackendIsRunning | ( | void | ) |
a backend process is running on this host
Definition at line 1811 of file mythcontext.cpp.
Referenced by main().
| void MythContext::BlockShutdown | ( | void | ) |
Definition at line 1738 of file mythcontext.cpp.
| void MythContext::AllowShutdown | ( | void | ) |
Definition at line 1763 of file mythcontext.cpp.
| QString MythContext::GetInstallPrefix | ( | void | ) |
Definition at line 1910 of file mythcontext.cpp.
Referenced by LCD::connectToHost(), DVDRipBox::connectToMtd(), JobQueue::DoFlagCommercialsThread(), JobQueue::DoTranscodeThread(), getDBParamters(), Grabber(), ProgFinder::Initialize(), MythFlix::MythFlix(), MythFlixQueue::MythFlixQueue(), MythNews::MythNews(), MythShutdownStartFECmd(), PreviewGenerator::Run(), HouseKeeper::RunMFD(), and WelcomeDialog::WelcomeDialog().
| QString MythContext::GetShareDir | ( | void | ) |
Definition at line 1932 of file mythcontext.cpp.
Referenced by MythThemedMenuPrivate::findMenuFile(), FindMenuThemeDir(), SourceManager::findScripts(), OSD::FindTheme(), ThumbFinder::getChapterCount(), GetDataCommand(), GetFontsDir(), GetPostersCommand(), GetThemesParentDir(), GetTranslationsDir(), HttpServer::HttpServer(), MythFlix::InsertMovieIntoQueue(), ScreenSetup::loadData(), MythburnWizard::loadEncoderProfiles(), OSD::LoadFont(), MHIContext::LoadFont(), MediaServer::MediaServer(), MythArchiveShareDir(), MythburnWizard::MythburnWizard(), MythNewsConfig::populateSites(), MythFlixConfig::populateSites(), mythvideo_videomanager::VideoPosterSearch::Run(), mythvideo_videomanager::VideoUIDSearch::Run(), mythvideo_videomanager::VideoTitleSearch::Run(), MythburnWizard::runScript(), SearchListingsCommand(), MythFlixQueue::slotMoveToQueue(), MythFlixQueue::slotMoveToTop(), MythFlixQueue::slotRemoveFromQueue(), and WeatherSource::WeatherSource().
| QString MythContext::GetLibraryDir | ( | void | ) |
Definition at line 1937 of file mythcontext.cpp.
Referenced by GetFiltersDir(), and GetPluginsDir().
| QString MythContext::GetConfDir | ( | void | ) | [static] |
Definition at line 1915 of file mythcontext.cpp.
Referenced by DirectoryContainer::clearAllVoicemail(), ClearOldImageCache(), DirectoryContainer::deleteVoicemail(), ImportIconsWizard::exec(), EditMetadataDialog::findCoverArt(), MythThemedMenuPrivate::findMenuFile(), FindMenuThemeDir(), OSD::FindTheme(), FindThemeDir(), OSDImageCache::Get(), ThumbGenerator::getThumbcacheDir(), FillData::grabData(), PhoneUIBox::handleTreeListSignals(), OSDImageCache::InFileCache(), MythburnWizard::loadEncoderProfiles(), OSD::LoadFont(), MHIContext::LoadFont(), Settings::LoadSettingsFiles(), main(), MythFlix::MythFlix(), MythFlixQueue::MythFlixQueue(), MythNews::MythNews(), mythplugin_init(), NewsSite::NewsSite(), mythvideo_videomanager::VideoManagerImp::OnPosterURL(), DirectoryContainer::PutVoicemailInTree(), RemoveCacheDir(), GalleryUtil::Rename(), GalleryUtil::RenameDirectory(), XMLTV_generic_config::save(), OSDImageCache::SaveToDisk(), vxmlParser::SaveWav(), SetupIconCacheDirectory(), SipThread::SipThreadWorker(), MythNews::slotViewArticle(), SpawnJoystickMenu(), SpawnLirc(), MythNews::updateInfoView(), MythFlixQueue::updateInfoView(), MythFlix::updateInfoView(), VideoArtworkDirectory(), WeatherSource::WeatherSource(), MythContextPrivate::WriteSettingsFile(), and XmlConfiguration::XmlConfiguration().
| QString MythContext::GetFilePrefix | ( | void | ) |
Definition at line 1905 of file mythcontext.cpp.
Referenced by AutoExpire::ExpireEpisodesOverMax(), and MainServer::HandleQueryRecordings().
| void MythContext::LoadQtConfig | ( | void | ) |
Definition at line 1999 of file mythcontext.cpp.
Referenced by main(), reloadTheme(), and MythContextPrivate::TempMainWindow().
| void MythContext::UpdateImageCache | ( | void | ) |
| void MythContext::RefreshBackendConfig | ( | void | ) |
| void MythContext::GetScreenSettings | ( | float & | wmult, | |
| float & | hmult | |||
| ) |
Definition at line 2294 of file mythcontext.cpp.
Referenced by ImageSelectSetting::configWidget(), GridConfigurationGroup::configWidget(), HorizontalConfigurationGroup::configWidget(), VerticalConfigurationGroup::configWidget(), ConfigurationDialog::dialogWidget(), ProfileGroupEditor::exec(), PlaybackBox::getPixmap(), MythAppearance::getSettings(), ImageView::ImageView(), TV::Init(), MythMainWindow::Init(), VideoOutputXv::InitDisplayMeasurements(), LoadScaleImage(), LoadScalePixmap(), StatusBox::LoadTheme(), main(), MainVisual::MainVisual(), MythDialog::MythDialog(), MythMultiPasswordDialog::MythMultiPasswordDialog(), MythPasswordDialog::MythPasswordDialog(), MythPopupBox::MythPopupBox(), MythProgressDialog::MythProgressDialog(), MythScrollDialog::MythScrollDialog(), PhoneUIBox::PhoneUIBox(), setupPixmaps(), VirtualKeyboard::SwitchLayout(), and ThemeWidget().
| void MythContext::GetScreenSettings | ( | int & | width, | |
| float & | wmult, | |||
| int & | height, | |||
| float & | hmult | |||
| ) |
Definition at line 2300 of file mythcontext.cpp.
| void MythContext::GetScreenSettings | ( | int & | xbase, | |
| int & | width, | |||
| float & | wmult, | |||
| int & | ybase, | |||
| int & | height, | |||
| float & | hmult | |||
| ) |
Definition at line 2310 of file mythcontext.cpp.
| void MythContext::GetScreenBounds | ( | int & | xbase, | |
| int & | ybase, | |||
| int & | width, | |||
| int & | height | |||
| ) |
Definition at line 2284 of file mythcontext.cpp.
Referenced by TV::Init(), and VideoOutputXv::InitDisplayMeasurements().
| bool MythContext::ParseGeometryOverride | ( | const QString | geometry | ) |
Parse an X11 style command line geometry string.
Accepts strings like -geometry 800x600 or -geometry 800x600+112+22 to override the fullscreen and user default screen dimensions
Definition at line 2398 of file mythcontext.cpp.
Referenced by main().
| QString MythContext::FindThemeDir | ( | const QString & | themename | ) |
Definition at line 2480 of file mythcontext.cpp.
Referenced by PhoneUIBox::changeVolumeControl(), PhoneUIBox::doAddEntryPopup(), LoadQtConfig(), main(), PhoneUIBox::PhoneUIBox(), SetupMenu(), and PhoneUIBox::showVolume().
| QString MythContext::FindMenuThemeDir | ( | const QString & | menuname | ) |
| QString MythContext::GetThemeDir | ( | void | ) |
Definition at line 2568 of file mythcontext.cpp.
Referenced by MythThemedMenuPrivate::findMenuFile(), GetThemeSearchPath(), MythThemeBase::Init(), ScreenSetup::loadData(), UIImageType::LoadImage(), UIGuideType::LoadImage(), mythplugin_config(), MythThemeBase::Reload(), MythThemedMenuPrivate::ReloadTheme(), runFormatMenu(), runMenu(), runSelectMenu(), and UIGuideType::SetArrow().
| QValueList< QString > MythContext::GetThemeSearchPath | ( | void | ) |
Definition at line 2573 of file mythcontext.cpp.
Referenced by FindThemeFile(), XMLParseBase::LoadBaseTheme(), XMLParse::LoadTheme(), XMLParseBase::LoadWindowFromXML(), and XMLParse::parseDefaultCategoryColors().
| QString MythContext::GetMenuThemeDir | ( | void | ) |
Definition at line 2563 of file mythcontext.cpp.
Referenced by MythThemedMenuPrivate::findMenuFile().
| QString MythContext::GetThemesParentDir | ( | void | ) |
Definition at line 1942 of file mythcontext.cpp.
Referenced by CacheThemeImages(), FindMenuThemeDir(), FindThemeDir(), GetThemeSearchPath(), OSDListBtnType::LoadPixmap(), MenuTheme(), RandTheme(), and ThemeSelector::ThemeSelector().
| QString MythContext::GetPluginsDir | ( | void | ) |
Definition at line 1947 of file mythcontext.cpp.
Referenced by FindPlugin(), and MythPluginManager::MythPluginManager().
| QString MythContext::GetPluginsNameFilter | ( | void | ) |
Definition at line 1952 of file mythcontext.cpp.
Referenced by MythPluginManager::MythPluginManager().
| QString MythContext::FindPlugin | ( | const QString & | plugname | ) |
Definition at line 1957 of file mythcontext.cpp.
Referenced by MythPluginManager::config_plugin(), MythPluginManager::destroy_plugin(), MythThemedMenuPrivate::findDepends(), MythPluginManager::GetMenuPlugin(), MythPluginManager::GetPlugin(), MythPluginManager::init_plugin(), and MythPluginManager::run_plugin().
| QString MythContext::GetTranslationsDir | ( | void | ) |
Definition at line 1962 of file mythcontext.cpp.
Referenced by FindTranslation(), and LanguageSettings::load().
| QString MythContext::GetTranslationsNameFilter | ( | void | ) |
Definition at line 1967 of file mythcontext.cpp.
| QString MythContext::FindTranslation | ( | const QString & | translation | ) |
Definition at line 1972 of file mythcontext.cpp.
| QString MythContext::GetFontsDir | ( | void | ) |
Definition at line 1978 of file mythcontext.cpp.
Referenced by FindFont(), OSDCC708Font(), OSDCCFont(), and OSDFont().
| QString MythContext::GetFontsNameFilter | ( | void | ) |
Definition at line 1983 of file mythcontext.cpp.
Referenced by OSDCC708Font(), OSDCCFont(), and OSDFont().
| QString MythContext::FindFont | ( | const QString & | fontname | ) |
Definition at line 1988 of file mythcontext.cpp.
| QString MythContext::GetFiltersDir | ( | void | ) |
| MDBManager * MythContext::GetDBManager | ( | void | ) |
Definition at line 2585 of file mythcontext.cpp.
Referenced by MSqlQuery::DDCon(), MSqlQuery::InitCon(), MSqlQuery::SchedCon(), and MSqlQuery::~MSqlQuery().
| void MythContext::DBError | ( | const QString & | where, | |
| const QSqlQuery & | query | |||
| ) | [static] |
Definition at line 2590 of file mythcontext.cpp.
Referenced by MultiValueImp::add(), SingleValueImp::add(), DBEvent::AddAuthority(), FileScanner::AddFileToDB(), ProgramInfo::AddHistory(), Scheduler::AddNewRecords(), Scheduler::AddNotListed(), LiveTVChain::AppendNewProgram(), ChannelRecPriority::applyChannelRecPriorityChange(), ProgramInfo::ApplyRecordPlayGroupChange(), ProgramInfo::ApplyRecordRecGroupChange(), ProgramInfo::ApplyRecordRecID(), ProgramInfo::ApplyRecordRecTitleChange(), ProgramInfo::ApplyTranscoderProfileChange(), InputGroupMap::Build(), Scheduler::BuildNewRecordsQueries(), change_program(), JobQueue::ChangeJobArgs(), JobQueue::ChangeJobCmds(), JobQueue::ChangeJobComment(), JobQueue::ChangeJobFlags(), JobQueue::ChangeJobHost(), JobQueue::ChangeJobStatus(), chanid_available(), DDStructureParser::characters(), StorageGroup::CheckAllStorageGroupDirs(), ImportIconsWizard::checkAndDownload(), ChannelBase::CheckChannel(), TVRec::CheckChannelPrefix(), checkChannelPresets(), checkStoragePaths(), JobQueue::CleanupOldJobsInQueue(), HouseKeeper::CleanupOrphanedLivetvChains(), HouseKeeper::CleanupRecordedTables(), clearArchiveTable(), EITCache::ClearChannelLocks(), ProgramData::clearDataByChannel(), ProgramData::clearDataBySource(), ProgramInfo::ClearMarkupMap(), ProgramInfo::ClearPositionMap(), clone_capturecard(), clone_cardinputs(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), CompleteJob(), DataDirectProcessor::CreateATempTable(), DiSEqCDevDevice::CreateById(), ChannelUtil::CreateChannel(), CardUtil::CreateInputGroup(), CardInput::CreateNewInputGroup(), VideoDisplayProfile::CreateProfile(), VideoDisplayProfile::CreateProfileGroup(), CustomEdit::CustomEdit(), CustomPriority::CustomPriority(), DataDirectProcessor::DataDirectProgramUpdate(), ProgramRecPriority::deactivate(), commDetector2::debugDirectory(), MythGamePlayerEditor::del(), ChannelEditor::del(), TransportListEditor::Delete(), delete_in_db(), delete_program(), JobQueue::DeleteAllJobs(), CardUtil::DeleteCard(), SmartPlaylistEditor::deleteCategory(), ChannelEditor::deleteChannels(), CustomPriority::deleteClicked(), VideoDisplayProfile::DeleteDB(), ProgramInfo::DeleteHistory(), CardUtil::DeleteInput(), JobQueue::DeleteJob(), CardUtil::DeleteOrphanInputs(), PlaylistsContainer::deletePlaylist(), VideoDisplayProfile::DeleteProfileGroup(), VideoDisplayProfile::DeleteProfiles(), SmartPlaylistEditor::deleteSmartPlaylist(), SourceUtil::DeleteSource(), Ripper::deleteTrack(), StorageGroupListEditor::doDelete(), StorageGroupEditor::doDelete(), PlayGroupEditor::doDelete(), MainServer::DoDeleteInDB(), StatusBox::doScheduleStatus(), StatusBox::doTunerStatus(), MetadataImp::dropFromDB(), Metadata::dumpToDatabase(), CaptureCardEditor::edit(), ProgramRecPriority::edit(), ChannelRecPriority::edit(), RomInfo::edit_rominfo(), DDStructureParser::endElement(), AutoExpire::ExpireEpisodesOverMax(), NativeArchive::exportVideo(), DTVMultiplex::FillFromDB(), ProgramRecPriority::FillList(), ChannelRecPriority::FillList(), Scheduler::FillRecordingDir(), Scheduler::FillRecordListFromDB(), CaptureCard::fillSelections(), TransportList::fillSelections(), RecordingProfile::fillSelections(), Source::fillSelections(), Playlist::fillSonglistFromQuery(), Playlist::fillSonglistFromSmartPlaylist(), Scheduler::findAllScheduledPrograms(), ChannelUtil::FindChannel(), ChannelID::findHighest(), MythNewsConfig::findInDB(), MythNews::findInDB(), MythFlixConfig::findInDB(), ProgramInfo::FinishedRecording(), LiveTVChain::FinishedRecording(), DataDirectProcessor::FixProgramIDs(), ProgramInfo::ForgetHistory(), ProgramList::FromOldRecorded(), ProgramList::FromProgram(), ProgramList::FromRecorded(), get_cardtype(), get_cardtypes(), get_chan_id_from_db(), get_dtv_multiplex(), get_input_id(), get_max_chanid(), get_on_cardid(), get_ratings(), get_use_eit(), MythXML::GetAlbumArt(), ChannelUtil::GetATSCChannel(), ChannelUtil::GetBetterMplexID(), DTVChannel::GetCachedPids(), CardUtil::GetCardIDs(), CardUtil::GetCardList(), DVBChannel::GetChanID(), ChannelUtil::GetChanID(), ChannelBase::GetChanID(), IPTVChannel::GetChanInfo(), ProgramInfo::GetChannel(), ChannelUtil::GetChannelData(), MythXML::GetChannelIcon(), DBox2EPG::GetChannelID(), TVRec::GetChannelInfo(), ChannelUtil::GetChannels(), ChannelUtil::GetChannelSettings(), ChannelUtil::GetChannelStringField(), ChannelUtil::GetChannelValueStr(), CardUtil::GetCloneCardIDs(), CardUtil::GetConfiguredDVBInputs(), PlayGroup::GetCount(), CardUtil::GetDefaultInput(), TVRec::GetDevices(), FileScanner::GetDirectoryId(), CardUtil::GetDisplayName(), ProgramInfo::GetDVDBookmark(), MusicPlayer::getFilenameFromID(), Channel::GetFormatForChannel(), CardUtil::GetGroupCardIDs(), PlayGroup::GetInitialName(), CardUtil::GetInputGroups(), CardUtil::GetInputIDs(), CardUtil::GetInputInfo(), CardUtil::GetInputNames(), JobQueue::GetJobArgs(), JobQueue::GetJobCmd(), JobQueue::GetJobFlags(), JobQueue::GetJobID(), JobQueue::GetJobInfoFromID(), JobQueue::GetJobsInQueue(), JobQueue::GetJobStatus(), SourceUtil::GetListingsLoginData(), ProgramInfo::GetMplexID(), ChannelUtil::GetMplexID(), PlayGroup::GetNames(), TVRec::GetNextProgram(), DBEvent::GetOverlappingPrograms(), DBPerson::GetPersonDB(), VideoDisplayProfile::GetProfileGroupID(), VideoDisplayProfile::GetProfiles(), ProgramInfo::GetProgramAtDateTime(), MythXML::GetProgramGuide(), CardUtil::GetQuickTuning(), ProgramInfo::GetRecordBasename(), ThumbItem::GetRotationAngle(), ChannelUtil::GetServiceVersion(), PlayGroup::GetSetting(), RemoteEncoder::GetSignalLockTimeout(), SmartPlaylistDialog::getSmartPlaylistCategories(), SmartPlaylistEditor::getSmartPlaylistCategories(), SmartPlaylistDialog::getSmartPlaylists(), ChannelUtil::GetSourceID(), ChannelUtil::GetSourceIDForChannel(), SourceUtil::GetSourceName(), TVRec::GetStartChannel(), DBUtil::GetTables(), CardUtil::GetTimeouts(), ChannelUtil::GetTuningParams(), TV::GetValidRecorderList(), MythXML::GetVideoArt(), CardUtil::GetVideoDevices(), DataDirectProcessor::GrabNextSuggestedTime(), ChannelData::handleChannels(), ProgramData::handlePrograms(), MainServer::HandleQueryRecordings(), SourceUtil::HasDigitalChannel(), CardUtil::IgnoreEncrypted(), IconData::ImportIconMap(), NativeArchive::importRecording(), NativeArchive::importVideo(), StorageGroup::Init(), ChannelBase::InitializeInputs(), insert_dtv_multiplex(), insert_program(), DBPerson::InsertCreditsDB(), DBEvent::InsertDB(), MythNewsConfig::insertInDB(), MythNews::insertInDB(), MythFlixConfig::insertInDB(), DBPerson::InsertPersonDB(), CustomPriority::installClicked(), is_dishnet_eit(), is_input_group_busy(), SourceUtil::IsAnySourceScanable(), CardUtil::IsCardTypePresent(), SourceUtil::IsEncoder(), Ripper::isNewTune(), CardUtil::IsTunerShared(), MSqlDatabase::KickDatabase(), MSqlQuery::lastInsertId(), CardUtil::LinkInputGroup(), CardInputEditor::load(), InputGroup::load(), TransFreqTableSelector::load(), StorageGroupListEditor::load(), StorageGroupEditor::load(), InputSelector::load(), SimpleDBStorage::load(), DiSEqCDevLNB::Load(), DiSEqCDevRotor::Load(), DiSEqCDevSwitch::Load(), DiSEqCDevTree::Load(), DiSEqCDevSettings::Load(), MetadataListManager::loadAllFromDatabase(), RecordingProfile::loadByID(), ScheduledRecording::loadBySearch(), RecordingProfile::loadByType(), EITCache::LoadChannel(), KeyBindings::LoadContexts(), VideoDisplayProfile::LoadDB(), SmartPlaylistEditor::loadFromDatabase(), KeyBindings::LoadJumppoints(), MainServer::LocalFilePath(), lock_channel(), LogEntry(), SmartPlaylistEditor::lookupCategoryID(), main(), ProgramInfo::MarkAsInUse(), SmartPlaylistEditor::newCategory(), VideoSelector::OKPressed(), RecordingSelector::OKPressed(), FileSelector::OKPressed(), StorageGroupEditor::open(), RecordingProfileEditor::open(), PlayGroupEditor::open(), Metadata::persist(), DBUtil::QueryDBMSVersion(), JobQueue::QueueJob(), ProgramInfo::ReactivateRecording(), MythMainWindow::RegisterJump(), MythMainWindow::RegisterKey(), ThumbItem::Remove(), MultiValueImp::remove(), FileScanner::RemoveFileFromDB(), MythNewsConfig::removeFromDB(), MythNews::removeFromDB(), MythFlixConfig::removeFromDB(), SmartPlaylistEditor::renameCategory(), replace_in_db(), IconData::ResetIconMap(), romInDB(), SearchDialog::runQuery(), Scheduler::RunScheduler(), RunSimpleQuery(), TransFreqTableSelector::save(), AutoIncrementDBSetting::save(), ScheduledRecording::save(), ProgramInfo::Save(), SimpleDBStorage::save(), ChannelID::save(), DTVChannel::SaveCachedPids(), SmartPlaylistEditor::saveClicked(), VideoDisplayProfile::SaveDB(), Playlist::savePlaylist(), SaveSettingOnHost(), SmartPLCriteriaRow::saveToDatabase(), MetadataImp::saveToDatabase(), SIScan::ScanServicesSourceID(), SIScan::ScanTransport(), set_lineup_type(), set_on_source(), ProgramInfo::SetAutoExpire(), ProgramInfo::SetBookmark(), TVRec::SetChannelInfo(), ProgramInfo::SetCommFlagged(), ProgramInfo::SetCutList(), ProgramInfo::SetDeleteFlag(), ProgramInfo::SetDupHistory(), ProgramInfo::SetDVDBookmark(), ProgramInfo::SetEditing(), RomInfo::setFavorite(), ProgramInfo::SetFilesize(), setGlobalSetting(), ProgramInfo::SetMarkupMap(), ProgramInfo::SetPositionMap(), ProgramInfo::SetPositionMapDelta(), ProgramInfo::SetPreserveEpisode(), ProgramInfo::SetRecordBasename(), ThumbItem::SetRotationAngle(), ChannelUtil::SetServiceVersion(), StartingChannel::SetSourceID(), ProgramInfo::SetTranscoded(), setupTVs(), ProgramInfo::SetWatchedFlag(), TVRec::ShouldSwitchToAnotherCard(), ProgramInfo::showDetails(), MythNews::slotNewsRetrieved(), ChannelOptionsCommon::sourceChanged(), EITScanner::StartActiveScan(), ProgramInfo::StartedRecording(), DiSEqCDevLNB::Store(), DiSEqCDevRotor::Store(), DiSEqCDevSwitch::Store(), DiSEqCDevTree::Store(), DiSEqCDevSettings::Store(), CustomEdit::storeClicked(), ChannelBase::StoreDefaultInput(), ChannelBase::StoreInputChannels(), CustomPriority::testSchedule(), TVRec::ToggleChannelFavorite(), CardUtil::TVOnly(), CardUtil::UnlinkInputGroup(), unlock_channel(), update_channel_basic(), ChannelUtil::UpdateChannel(), DataDirectProcessor::UpdateChannelsSafe(), DataDirectProcessor::UpdateChannelsUnsafe(), DBEvent::UpdateDB(), DBox2EPG::UpdateDB(), ProgramInfo::UpdateLastDelete(), DataDirectProcessor::UpdateListings(), Scheduler::UpdateManuals(), Scheduler::UpdateMatches(), Scheduler::UpdateNextRecord(), DataDirectProcessor::UpdateProgramViewTable(), ProgramInfo::UpdateRecordingEnd(), IconData::UpdateSourceIcons(), DataDirectProcessor::UpdateStationViewTable(), UpgradeMusicDatabaseSchema(), and DBox2EPG::UseOnAirGuide().
| QString MythContext::DBErrorMessage | ( | const QSqlError & | err | ) | [static] |
Definition at line 2607 of file mythcontext.cpp.
Referenced by DBError(), doUpgradeTVDatabaseSchema(), lockSchema(), MSqlDatabase::OpenDatabase(), performActualUpdate(), ScheduledRecording::testRecording(), CustomPriority::testSchedule(), and UpdateDBVersionNumber().
| DatabaseParams MythContext::GetDatabaseParams | ( | void | ) |
Definition at line 3944 of file mythcontext.cpp.
Referenced by DBUtil::DoBackup(), MythXML::GetConnectionInfo(), getDBParamters(), MythDbSettings2::load(), MythDbSettings1::load(), MSqlDatabase::OpenDatabase(), MythContextPrivate::PromptForDatabaseParams(), MythDbSettings2::save(), MythDbSettings1::save(), and SaveDatabaseParams().
| bool MythContext::SaveDatabaseParams | ( | const DatabaseParams & | params | ) |
Definition at line 3949 of file mythcontext.cpp.
Referenced by MythContextPrivate::PromptForDatabaseParams(), MythDbSettings2::save(), and MythDbSettings1::save().
| void MythContext::LogEntry | ( | const QString & | module, | |
| int | priority, | |||
| const QString & | message, | |||
| const QString & | details | |||
| ) |
Definition at line 3825 of file mythcontext.cpp.
Referenced by AutoExpire::CalcParams(), MainServer::DoDeleteInDB(), MainServer::DoDeleteThread(), JobQueue::DoFlagCommercialsThread(), MainServer::DoHandleDeleteRecording(), ScheduledRecording::doneRecording(), JobQueue::DoTranscodeThread(), JobQueue::DoUserJobThread(), AutoExpire::ExpireEpisodesOverMax(), AutoExpire::ExpireRecordings(), main(), HouseKeeper::RunHouseKeeping(), Scheduler::RunScheduler(), AutoExpire::SendDeleteMessages(), and setupTVs().
| Settings * MythContext::qtconfig | ( | void | ) |
Definition at line 2622 of file mythcontext.cpp.
Referenced by MythThemeBase::Init(), and MythThemeBase::Reload().
| void MythContext::SaveSetting | ( | const QString & | key, | |
| int | newValue | |||
| ) |
Definition at line 2627 of file mythcontext.cpp.
Referenced by VideoSelector::checkParentPassword(), checkParentPassword(), MythThemedMenuPrivate::checkPinCode(), MusicPlayer::customEvent(), doBurnDVD(), doNativeArchive(), DoVideoDatabaseSchemaUpgrade(), FindMenuThemeDir(), FindThemeDir(), DataDirectProcessor::FixProgramIDs(), getTempDirectory(), GuideGrid::GuideGrid(), ProgramRecPriority::keyPressEvent(), ChannelRecPriority::keyPressEvent(), PlaybackBoxMusic::play(), LanguageSettings::prompt(), RandTheme(), MythburnWizard::runScript(), XMLTV_generic_config::save(), LangEditorSetting::save(), VideoFilterSettings::saveAsDefault(), MythburnWizard::saveConfiguration(), ExportNativeWizard::saveConfiguration(), GlobalSetup::saveData(), PlaybackBoxMusic::savePosition(), MusicPlayer::savePosition(), VolumeControl::SetCurrentVolume(), VolumeBase::SetCurrentVolume(), PlaybackBox::setGroupFilter(), VideoOutput::SetPictureAttributeDBValue(), PlaybackBox::SetRecGroupPassword(), setupDatabase(), DBConfiguration::SetValue(), PlaybackBox::showViewChanger(), NuppelVideoPlayer::ShutdownAVSync(), MythAppearance::slotResetSettings(), MythNewsConfig::slotUpdateFreqTimerTimeout(), MythFlixConfig::slotUpdateFreqTimerTimeout(), NuppelVideoPlayer::StartPlaying(), MainServer::TruncateAndClose(), MoviesUI::updateMovieTimes(), MythAppearance::updateSettings(), UpgradeMusicDatabaseSchema(), BookmarksConfig::~BookmarksConfig(), DatabaseBox::~DatabaseBox(), GLSingleView::~GLSingleView(), GuideGrid::~GuideGrid(), ImportMusicDialog::~ImportMusicDialog(), LogViewer::~LogViewer(), MusicPlayer::~MusicPlayer(), SingleView::~SingleView(), StatusBox::~StatusBox(), VideoTree::~VideoTree(), ViewScheduled::~ViewScheduled(), ZMEvents::~ZMEvents(), and ZMLivePlayer::~ZMLivePlayer().
| void MythContext::SaveSetting | ( | const QString & | key, | |
| const QString & | newValue | |||
| ) |
Definition at line 2633 of file mythcontext.cpp.
| QString MythContext::GetSetting | ( | const QString & | key, | |
| const QString & | defaultval = "" | |||
| ) |
Definition at line 2690 of file mythcontext.cpp.
Referenced by FileScanner::AddFileToDB(), UPnpCDSVideo::AddItem(), UPnpCDSMusic::AddItem(), addMyselfToDirectory(), AutoRunUserJob(), DatabaseBox::BlankCDRW(), UPnpMedia::BuildMediaMap(), DVDTranscodeThread::buildTranscodeCommandLine(), burnISOImage(), calc_eit_utc_offset(), DiSEqCDevRotor::CalculateAzimuth(), LogViewer::cancelClicked(), SipThread::ChangePrimaryCallState(), ChannelRecPriority::ChannelRecPriority(), IvtvDecoder::CheckDevice(), PlaybackBoxMusic::checkForPlaylists(), VideoSelector::checkParentPassword(), checkParentPassword(), MythThemedMenuPrivate::checkPinCode(), Scheduler::CheckShutdownServer(), checkStoragePaths(), ClassicLogoDetector::ClassicLogoDetector(), ClearOldImageCache(), WeatherScreen::clock_tick(), ConnectServer(), ConnectToMasterServer(), Playlist::CreateCDMP3(), createISOImage(), WelcomeDialog::customEvent(), PhoneUIBox::customEvent(), DatabaseBox::DatabaseBox(), MediaMonitor::defaultDevice(), Ripper::deleteTrack(), SipFsm::DetermineNatAddress(), DatabaseBox::doActivePopup(), DBUtil::DoBackup(), StorageGroupListEditor::doDelete(), NativeArchive::doImportArchive(), StatusBox::doListingsStatus(), DoOldDVDDatabaseSchemaUpgrage(), DoOldVideoDatabaseSchemaUpgrade(), doUpgradeTVDatabaseSchema(), DoVideoDatabaseSchemaUpgrade(), expandURLString(), NativeArchive::exportRecording(), NativeArchive::exportVideo(), Ripper::filenameFromMetadata(), PlaybackBox::FillList(), HttpStatus::FillStatusXML(), EditMetadataDialog::findCoverArt(), StorageGroup::FindRecordingDir(), ProgramList::FromProgram(), ProgramList::FromRecorded(), GameTree::GameTree(), GameTreeItem::GameTreeItem(), MythXML::GetAlbumArt(), MythXML::GetConnectionInfo(), InfoDialog::getDateLabel(), ZMEvents::getDateList(), MythburnWizard::getDefaultProfile(), ZMClient::getEventList(), getFileDetails(), GetFilePrefix(), GetFloatSetting(), JobQueue::GetJobCommand(), JobQueue::GetJobDescription(), GetLanguageAndVariant(), MythXML::GetMusic(), GetMySipIp(), GetNumSetting(), ProgramInfo::GetPlaybackURL(), Metadata::getPlayCommand(), Metadata::getPlayer(), ProgramInfo::GetProgramAtDateTime(), ProgramInfo::GetRecGroupPassword(), PhoneUIBox::getResolution(), GetResolutionSetting(), XBox::GetSettings(), MusicFieldTreeBuilder::getSplitField(), getTempDirectory(), ThumbGenerator::getThumbcacheDir(), DBConfiguration::GetValue(), GetVideoDirs(), GLSingleView::GLSingleView(), FillData::grabData(), GuideGrid::GuideGrid(), GuiVidModeResolution(), haltnow(), MythburnWizard::handleAddFile(), MainServer::HandleFillProgramInfo(), MainServer::HandleGetFreeRecorder(), MainServer::HandleGetNextFreeRecorder(), MainServer::HandleGetRecorderFromNum(), MainServer::HandleGetRecorderNum(), MainServer::HandleQueryRecordings(), IconView::HandleSettings(), PhoneUIBox::handleTreeListSignals(), ImportMusicDialog::ImportMusicDialog(), NativeArchive::importVideo(), VideoOutputIvtv::Init(), TVRec::Init(), TV::Init(), StorageGroup::Init(), OSD::Init(), LircClient::Init(), LCDProcClient::init(), LCD::init(), LanguageSettingsPrivate::Init(), Channel::Init(), OSD::InitCC608(), SipCall::initialise(), ProgFinder::Initialize(), initialize_osd_fonts(), InitializeDatabase(), ChannelBase::InitializeInputs(), Channel::InitializeInputs(), OSD::InitMenu(), OSD::InitTeletext(), JobQueue::InJobRunWindow(), DBUtil::IsBackupInProgress(), UPnpCDSVideo::IsBrowseRequestForUs(), UPnpCDSTv::IsBrowseRequestForUs(), IsCombinedSchema(), IsMasterHost(), ISO639_fill_selections(), iso639_get_language_list(), UPnpCDSVideo::IsSearchRequestForUs(), UPnpCDSTv::IsSearchRequestForUs(), JobAllowUserJob(), JobQueue::JobText(), WelcomeDialog::keyPressEvent(), LanguageSettingsPrivate::LanguageChanged(), TransFreqTableSelector::load(), StorageGroupListEditor::load(), RecordingProfile::loadByID(), MythburnWizard::loadConfiguration(), ExportNativeWizard::loadConfiguration(), MythburnWizard::loadEncoderProfiles(), LoadQtConfig(), LCDProcClient::loadSettings(), XMLParse::LoadTheme(), OSD::LoadTheme(), vxmlParser::loadVxmlPage(), ImportNativeWizard::loadXML(), PhoneUIBox::LoopbackButtonPushed(), main(), DVDTranscodeThread::makeWorkingDirectory(), ManualSchedule::ManualSchedule(), MediaMonitor::MediaMonitor(), MetaIO::MetaIO(), MTD::MTD(), MTDLogger::MTDLogger(), MusicDirectoryTreeBuilder::MusicDirectoryTreeBuilder(), MusicPlayer::MusicPlayer(), MythFlix::MythFlix(), MythFlixQueue::MythFlixQueue(), MythMainWindow::MythMainWindow(), MythNews::MythNews(), mythplugin_config(), mythplugin_run(), MythUIClock::MythUIClock(), SipFsm::NewCall(), ImportNativeWizard::nextPressed(), NuppelVideoPlayer::NuppelVideoPlayer(), AudioOutputCA::OpenDevice(), IvtvDecoder::OpenFile(), AudioOutputALSA::OpenMixer(), MusicPlayer::openOutputDevice(), SipFsm::OpenSocket(), rtp::OpenSocket(), SingleView::paintEvent(), GLSingleView::paintGL(), XMLTVParser::parseFile(), OSD::parseFont(), MythFontProperties::ParseFromXml(), PhoneUIBox::PhoneUIBox(), PlaybackBox::PlaybackBox(), PlaybackBoxMusic::PlaybackBoxMusic(), playDVD(), playVCD(), MythNews::playVideo(), preMusic(), PreviousList::PreviousList(), HttpStatus::PrintEncoderStatus(), HttpStatus::PrintJobQueue(), HttpStatus::PrintMachineInfo(), HttpStatus::PrintScheduled(), HttpStatus::PrintStatus(), ProgFinder::ProgFinder(), ProgLister::ProgLister(), DBUtil::QueryDBMSVersion(), rebootnow(), MainServer::reconnectTimeout(), ManualSchedule::recordClicked(), PreviewGenerator::RemotePreviewSetup(), FileScanner::RemoveFileFromDB(), GalleryUtil::Rename(), GalleryUtil::RenameDirectory(), TitleDialog::ripTitles(), CDRipperThread::ripTrack(), mythvideo_videomanager::VideoPosterSearch::Run(), mythvideo_videomanager::VideoUIDSearch::Run(), mythvideo_videomanager::VideoTitleSearch::Run(), run(), CDRipperThread::run(), runBurnDVD(), runFileSelector(), HouseKeeper::RunHouseKeeping(), HouseKeeper::RunMFD(), WelcomeDialog::runMythFillDatabase(), SearchDialog::runQuery(), Scheduler::RunScheduler(), runTestDVD(), vxmlParser::runVxmlSession(), TransFreqTableSelector::save(), ImportCoverArtDialog::scanDirectory(), AvFormatDecoder::ScanStreams(), ScheduledRecording::ScheduledRecording(), Metadata::setArtistAndTrackFormats(), VolumeControl::SetCurrentVolume(), VolumeBase::SetCurrentVolume(), Decoder::SetLocationFormatUseTags(), ZMLivePlayer::setMonitorLayout(), NuppelVideoRecorder::SetOptionsFromProfile(), MpegRecorder::SetOptionsFromProfile(), HDHRRecorder::SetOptionsFromProfile(), DVBRecorder::SetOptionsFromProfile(), StartingChannel::SetSourceID(), OSD::SetTextSubtitles(), setupDatabase(), LCDProcClient::SetupLCD(), LCD::SetupLCD(), SetupMenu(), AudioOutputALSA::SetupMixer(), TV::SetupPipPlayer(), TV::SetupPlayer(), MoviesUI::setupTheme(), BookmarksConfig::setupView(), ZMClient::setupZMClient(), ProgramInfo::showDetails(), ProgFinder::showGuide(), PlaybackBox::showJobPopup(), ProgramInfo::ShowNotRecordingDialog(), PlaybackBox::showPlaylistJobPopup(), shutdown(), WelcomeDialog::shutdownNow(), Scheduler::ShutdownServer(), SingleView::SingleView(), SipFsm::SipFsm(), SipIM::SipIM(), SipWatcher::SipWatcher(), Bookmarks::slotBookmarksViewExecuted(), TVRec::SpawnLiveTV(), SRAutoUserJob1::SRAutoUserJob1(), SRAutoUserJob2::SRAutoUserJob2(), SRAutoUserJob3::SRAutoUserJob3(), SRAutoUserJob4::SRAutoUserJob4(), startDVDRipper(), WelcomeDialog::startFrontend(), startGuide(), PhoneUIBox::startRTP(), StatusBox::StatusBox(), ViewScheduleDiff::statusDialog(), StorageGroupEditor::StorageGroupEditor(), StorageGroupListEditor::StorageGroupListEditor(), MythContextPrivate::StoreGUIsettings(), ProgramInfo::ToMap(), Transcode::TranscodeFile(), GameHandler::UpdateGameDB(), MoviesUI::updateMovieTimes(), WelcomeDialog::updateScreen(), UpgradeArchiveDatabaseSchema(), UpgradeFlixDatabaseSchema(), UpgradeGalleryDatabaseSchema(), UpgradeGameDatabaseSchema(), UpgradeMusicDatabaseSchema(), UpgradePhoneDatabaseSchema(), UpgradeTVDatabaseSchema(), mythvideo_videomanager::VideoManagerImp::VideoManagerImp(), VideoTree::VideoTree(), ViewScheduled::ViewScheduled(), ViewScheduleDiff::ViewScheduleDiff(), TitleDialog::viewTitle(), VolumeControl::VolumeControl(), AudioOutputOSS::VolumeInit(), Scheduler::WasStartedAutomatically(), WebcamSettingsBox::WebcamSettingsBox(), WelcomeDialog::WelcomeDialog(), and ZMConsole::ZMConsole().
| bool MythContext::SaveSettingOnHost | ( | const QString & | key, | |
| const QString & | newValue, | |||
| const QString & | host | |||
| ) |
Definition at line 2638 of file mythcontext.cpp.
Referenced by DBUtil::BackupDB(), VideoDisplayProfile::GetDefaultProfileName(), MainServer::HandleSetSetting(), MythXML::PutSetting(), SaveSetting(), VideoDisplayProfile::SetDefaultProfileName(), and UpdateDBVersionNumber().
| int MythContext::GetNumSetting | ( | const QString & | key, | |
| int | defaultval = 0 | |||
| ) |
Definition at line 2763 of file mythcontext.cpp.
Referenced by addMyselfToDirectory(), Scheduler::AddNewRecords(), PhoneUIBox::alertUser(), JobQueue::AllowedToRun(), AudioOutputBase::AudioOutputBase(), AvFormatDecoder::AvFormatDecoder(), VoqvFullscreen::BeginPort(), VideoSync::BestMethod(), DatabaseBox::BlankCDRW(), BlankFrameDetector::BlankFrameDetector(), TV::BookmarkAllowed(), BorderDetector::BorderDetector(), DVDTranscodeThread::buildTranscodeCommandLine(), burnISOImage(), AutoExpire::CalcParams(), ChannelRecPriority::ChannelRecPriority(), IvtvDecoder::CheckDevice(), checkParentPassword(), CheckSchemaVersion(), Scheduler::CheckShutdownServer(), ClassicCommDetector::ClassicCommDetector(), ClassicLogoDetector::ClassicLogoDetector(), HouseKeeper::CleanupProgramListings(), ClearOldImageCache(), CompareTVDatabaseSchemaVersion(), CompleteJob(), ConnectServer(), LCDProcClient::connectToHost(), LCD::connectToHost(), ConnectToMasterServer(), DVDRipBox::connectToMtd(), Playlist::CreateCDMP3(), WelcomeDialog::customEvent(), TV::customEvent(), MusicPlayer::customEvent(), MainServer::customEvent(), DatabaseBox::DatabaseBox(), PlaybackBox::deleteSelected(), SipNotify::Display(), DatabaseBox::doActivePopup(), MainServer::DoDeleteThread(), TV::doEditSchedule(), MainServer::DoHandleDeleteRecording(), MainServer::DoHandleUndeleteRecording(), PlaybackBox::doJobQueueJob(), PlaybackBox::doPlaylistJobQueueJob(), TV::DoQueueTranscode(), NuppelVideoPlayer::DoSkipCommercials(), doUpgradeTVDatabaseSchema(), DoVideoDatabaseSchemaUpgrade(), DVDTitleInfo::DVDTitleInfo(), ProgramRecPriority::edit(), Ripper::ejectCD(), VoqvFullscreen::EndPort(), TabView::eventFilter(), WelcomeDialog::exec(), PlaybackBox::exec(), Ripper::filenameFromMetadata(), AutoExpire::FillDBOrdered(), AutoExpire::FillExpireList(), ProgramRecPriority::FillList(), PlaybackBox::FillList(), TV::FillMenuLiveTV(), Scheduler::FillRecordingDir(), Scheduler::FillRecordList(), HttpStatus::FillStatusXML(), FlagCommercials(), HouseKeeper::flushLogs(), ProgramList::FromRecorded(), AutoExpire::GetAllExpiring(), ProgramInfo::GetDVDBookmark(), JobQueue::GetJobsInQueue(), ProgramInfo::GetPlaybackURL(), MythXML::GetPreviewImage(), TVRec::GetProgramRingBufferForLiveTV(), ProgramInfo::GetRecordingTypeRecPriority(), GetResolutionSetting(), MythContextPrivate::GetScreenBounds(), NuppelVideoPlayer::GetScreenGrabAtFrame(), MythAppearance::getScreenInfo(), XBox::GetSettings(), ThumbGenerator::getThumbcacheDir(), DBConfiguration::GetValue(), GLSingleView::GLSingleView(), ClassicCommDetector::go(), Goom::Goom(), DataDirectProcessor::GrabNextSuggestedTime(), GuideGrid::GuideGrid(), MythThemedMenuPrivate::handleAction(), handleDVDMedia(), handleExit(), handleMedia(), MainServer::HandleQueryRecordings(), IconView::HandleSettings(), handleVCDMedia(), HistogramAnalyzer::HistogramAnalyzer(), HttpStatus::HttpStatus(), TV::IdleDialog(), ImageView::ImageView(), UDPNotify::incomingData(), VideoOutputQuartz::Init(), TVRec::Init(), TV::Init(), MythRemoteLineEdit::Init(), MythMainWindow::Init(), NuppelVideoPlayer::InitAVSync(), OSD::InitCC708(), VideoOutputXv::InitDisplayMeasurements(), ZMLivePlayer::initMonitorLayout(), NuppelVideoPlayer::InitVideo(), AvFormatDecoder::InitVideoCodec(), internal_play_media(), JobQueue::JobQueue(), StatusBox::keyPressEvent(), LinuxFirewireDevice::LinuxFirewireDevice(), TV::LiveTV(), PlaylistsContainer::load(), GlobalSetup::loadData(), MythContextPrivate::LoadLogSettings(), LoadQtConfig(), XMLParse::LoadTheme(), PreviewGenerator::LocalPreviewRun(), LogViewer::LogViewer(), main(), MainServer::MainServer(), MediaMonitor::MediaMonitor(), NuppelVideoPlayer::MergeShortCommercials(), MTD::MTD(), MusicPlayer::MusicPlayer(), MythComboBox::MythComboBox(), MythFlix::MythFlix(), MythFlixConfig::MythFlixConfig(), MythFlixQueue::MythFlixQueue(), MythLineEdit::MythLineEdit(), MythNews::MythNews(), MythNewsConfig::MythNewsConfig(), mythplugin_init(), MythPopupBox::MythPopupBox(), MythXML::MythXML(), NuppelVideoPlayer::NuppelVideoPlayer(), mythvideo_videomanager::VideoManagerImp::OnPosterURL(), HDHRRecorder::Open(), AudioOutputCA::OpenDevice(), AudioOutputALSA::OpenMixer(), OSDTypeCC::OSDTypeCC(), NuppelVideoPlayer::OutputVideoLoop(), GuideGrid::paintChannels(), GuideGrid::paintInfo(), MythThemedMenuPrivate::parseThemeButton(), PlaybackBoxMusic::play(), TV::Playback(), PlaybackBox::PlaybackBox(), PlaybackBoxMusic::PlaybackBoxMusic(), Player::Player(), PlaylistsContainer::PlaylistsContainer(), TV::ProcessKeypress(), TV::ProcessNetworkControlCommand(), JobQueue::ProcessQueue(), ProgFinder::ProgFinder(), ProgramRecPriority::ProgramRecPriority(), PromptForSchemaUpgrade(), JobQueue::QueueJobs(), JobQueue::QueueRecordingJobs(), AudioOutputBase::Reconfigure(), MainServer::reconnectTimeout(), JobQueue::RecoverQueue(), NuppelVideoPlayer::ReinitAudio(), MythThemedMenu::ReloadExitKey(), PreviewGenerator::RemotePreviewSetup(), RemoteUndeleteRecording(), VideoOutputXv::ResizeForVideo(), RipFile::RipFile(), DVDTranscodeThread::run(), CDRipperThread::run(), run_priv_thread(), AutoExpire::RunExpirer(), HouseKeeper::RunHouseKeeping(), Scheduler::RunScheduler(), TV::RunTV(), runWeather(), PreviewGenerator::SavePreview(), MetadataImp::saveToDatabase(), SceneChangeDetector::SceneChangeDetector(), Scheduler::SchedNewRecords(), Scheduler::SchedPreserveLiveTV(), VideoOutputIvtv::SetAlpha(), ScheduledRecording::setDefault(), DVDRingBufferPriv::SetDVDSpeed(), PlaybackBox::setGroupFilter(), Decoder::SetLocationFormatUseTags(), PlaybackBox::setRecGroup(), PlaybackBox::setRecTitle(), setScheduledWakeupTime(), MusicNode::SetStaticData(), DeviceReadBuffer::Setup(), LCDProcClient::SetupLCD(), LCD::SetupLCD(), Weather::setupPage(), TV::SetupPipPlayer(), TV::SetupPlayer(), BookmarksConfig::setupView(), ZMClient::setupZMClient(), VideoOutput::SetVideoScalingAllowed(), PlaybackBox::showRecGroupChooser(), PlaybackBox::showViewChanger(), WelcomeDialog::shutdownNow(), Scheduler::ShutdownServer(), SingleView::SingleView(), SipFsm::SipFsm(), Bookmarks::slotBookmarksViewExecuted(), slowDelete(), SmartPlaylistDialog::SmartPlaylistDialog(), SmartPLOrderByDialog::SmartPLOrderByDialog(), SRDupIn::SRDupIn(), PlaybackBox::startPlayer(), NuppelVideoPlayer::StartPlaying(), Ripper::startRipper(), StatusBox::StatusBox(), MythContextPrivate::StoreGUIsettings(), TabView::TabView(), TemplateFinder::TemplateFinder(), TemplateMatcher::TemplateMatcher(), TV::ToggleRecord(), transUnlink(), TV::TreeMenuSelected(), UIImageType::UIImageType(), ProgFinder::updateBackground(), mythvideo_videomanager::ListHandler::UpdateContents(), UpgradeTVDatabaseSchema(), VideoBrowser::VideoBrowser(), VideoCallback(), VideoDialog::VideoDialog(), VideoFilterSettings::VideoFilterSettings(), VideoGallery::VideoGallery(), VideoListImp::VideoListImp(), VideoOutput::VideoOutput(), VideoOutputXv::VideoOutputXv(), VideoScannerImp::VideoScannerImp(), TV::VideoThemeCheck(), VideoTree::VideoTree(), VideoTreeImp::VideoTreeImp(), ViewScheduled::ViewScheduled(), VolumeControl::VolumeControl(), AudioOutputOSS::VolumeInit(), AudioOutputJACK::VolumeInit(), Weather::Weather(), WeatherCallback(), WelcomeDialog::WelcomeDialog(), GlobalSetup::wireUI(), Ripper::wireupTheme(), ZMEvents::ZMEvents(), ZMPlayer::ZMPlayer(), and TV::~TV().
| double MythContext::GetFloatSetting | ( | const QString & | key, | |
| double | defaultval = 0.0 | |||
| ) |
| void MythContext::GetResolutionSetting | ( | const QString & | type, | |
| int & | width, | |||
| int & | height, | |||
| double & | forced_aspect, | |||
| short & | refreshrate, | |||
| int | index = -1 | |||
| ) |
Definition at line 2323 of file mythcontext.cpp.
Referenced by GetResolutionSetting(), GuiVidModeResolution(), TV::Init(), VideoOutputXv::InitDisplayMeasurements(), DisplayRes::Initialize(), VideoOutputXv::ResizeForVideo(), and MythContextPrivate::StoreGUIsettings().
| void MythContext::GetResolutionSetting | ( | const QString & | type, | |
| int & | width, | |||
| int & | height, | |||
| int | index = -1 | |||
| ) |
Definition at line 2382 of file mythcontext.cpp.
| QString MythContext::GetSettingOnHost | ( | const QString & | key, | |
| const QString & | host, | |||
| const QString & | defaultval = "" | |||
| ) |
Definition at line 2779 of file mythcontext.cpp.
Referenced by UPnpCDSTv::AddItem(), VideoDisplayProfile::GetDefaultProfileName(), GetFloatSettingOnHost(), GetNumSettingOnHost(), ProgramInfo::GetPlaybackURL(), MainServer::HandleGetFreeRecorder(), MainServer::HandleGetNextFreeRecorder(), MainServer::HandleGetRecorderFromNum(), MainServer::HandleGetRecorderNum(), MainServer::HandleQueryRecordings(), and MainServer::HandleSettingQuery().
| int MythContext::GetNumSettingOnHost | ( | const QString & | key, | |
| const QString & | host, | |||
| int | defaultval = 0 | |||
| ) |
| double MythContext::GetFloatSettingOnHost | ( | const QString & | key, | |
| const QString & | host, | |||
| double | defaultval = 0.0 | |||
| ) |
Definition at line 2855 of file mythcontext.cpp.
Referenced by VideoOutputXv::InitDisplayMeasurements().
| void MythContext::SetSetting | ( | const QString & | key, | |
| const QString & | newValue | |||
| ) |
Definition at line 3223 of file mythcontext.cpp.
Referenced by VideoSelector::checkParentPassword(), checkParentPassword(), MythThemedMenuPrivate::checkPinCode(), main(), LangEditorSetting::save(), and NuppelVideoPlayer::StartPlaying().
| QFont MythContext::GetBigFont | ( | void | ) |
Definition at line 3437 of file mythcontext.cpp.
Referenced by MainVisual::MainVisual(), MythDialog::MythDialog(), and MythScrollDialog::MythScrollDialog().
| QFont MythContext::GetMediumFont | ( | void | ) |
Definition at line 3446 of file mythcontext.cpp.
Referenced by VisualBase::drawWarning(), InfoDialog::InfoDialog(), MythMainWindow::Init(), MythNewsConfig::loadTheme(), MythFlixConfig::loadTheme(), MythDialog::MythDialog(), MythProgressDialog::MythProgressDialog(), MythScrollDialog::MythScrollDialog(), InfoWidget::showInformation(), InfoWidget::showMetadata(), SourceSetup::wireUI(), and GlobalSetup::wireUI().
| QFont MythContext::GetSmallFont | ( | void | ) |
Definition at line 3455 of file mythcontext.cpp.
Referenced by MythDialog::MythDialog(), and MythScrollDialog::MythScrollDialog().
| QString MythContext::GetLanguage | ( | void | ) |
Returns two character ISO-639 language descriptor for UI language.
Definition at line 3468 of file mythcontext.cpp.
Referenced by ISO639_fill_selections(), iso639_get_language_list(), MythUIText::ParseElement(), XMLParse::parseRemoteEdit(), XMLParse::parseRichTextArea(), MythThemedMenuState::parseText(), XMLParse::parseTextArea(), MythThemedMenuPrivate::parseThemeButton(), and RunProgramFind().
| QString MythContext::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 3480 of file mythcontext.cpp.
Referenced by GetLanguage(), MythUIText::ParseElement(), XMLParse::parseRemoteEdit(), XMLParse::parseRichTextArea(), XMLParse::parseTextArea(), MythThemedMenuPrivate::parseThemeButton(), and VirtualKeyboard::VirtualKeyboard().
| void MythContext::ThemeWidget | ( | QWidget * | widget | ) |
Definition at line 2907 of file mythcontext.cpp.
Referenced by MythMainWindow::Init(), FileAssocDialog::makeNewExtension(), MythDialog::MythDialog(), MythPopupBox::MythPopupBox(), MythProgressDialog::MythProgressDialog(), MythScrollDialog::MythScrollDialog(), and PopupBox::PopupBox().
| bool MythContext::FindThemeFile | ( | QString & | filename | ) |
Definition at line 2968 of file mythcontext.cpp.
Referenced by UIAnimatedImageType::LoadImage(), UIImageType::LoadImage(), UIBarType::LoadImage(), LoadScaleImage(), and LoadScalePixmap().
| QPixmap * MythContext::LoadScalePixmap | ( | QString | filename, | |
| bool | fromcache = true | |||
| ) |
Definition at line 3096 of file mythcontext.cpp.
Referenced by ChannelRecPriority::ChannelRecPriority(), PlaybackBox::getPixmap(), UIAnimatedImageType::LoadImage(), UIImageType::LoadImage(), UIGuideType::LoadImage(), UIImageGridType::loadImages(), UIListBtnType::LoadPixmap(), MythScrollDialog::MythScrollDialog(), XMLParse::parseCheckBox(), XMLParse::parseKey(), XMLParse::parseKeyboard(), XMLParse::parseListArea(), XMLParse::parseManagedTreeList(), XMLParse::parsePushButton(), XMLParse::parseRichTextArea(), XMLParse::parseSelector(), XMLParse::parseStatusBar(), XMLParse::parseTextButton(), PlaybackBox::PlaybackBox(), ProgramRecPriority::ProgramRecPriority(), UIGuideType::SetArrow(), ThemeWidget(), VideoBrowser::VideoBrowser(), VideoSelected::VideoSelected(), MythburnWizard::wireUpTheme(), ImportNativeWizard::wireUpTheme(), FileSelector::wireUpTheme(), and DirectoryFinder::wireUpTheme().
| QImage * MythContext::LoadScaleImage | ( | QString | filename, | |
| bool | fromcache = true | |||
| ) |
Definition at line 2997 of file mythcontext.cpp.
Referenced by CacheThemeImagesDirectory(), UIImageGridType::createScaledPixmap(), ThumbFinder::createScaledPixmap(), EditMetadataDialog::createScaledPixmap(), MythImage::Load(), load_pixmap(), UIRichTextType::loadBackgroundImg(), ThumbGenerator::loadFile(), VideoGallery::LoadIconWindow(), MythListButton::LoadPixmap(), MythThemedMenuState::parseArrow(), MythThemedMenuState::parseBackground(), MythThemedMenuState::parseButton(), MythThemedMenuState::parseButtonDefinition(), MythThemedMenuState::parseLogo(), and MythThemedMenuState::parseTitle().
| bool MythContext::SendReceiveStringList | ( | QStringList & | strlist, | |
| bool | quickTimeout = false, |
|||
| bool | block = true | |||
| ) |
Definition at line 3241 of file mythcontext.cpp.
Referenced by StatusBox::doTunerStatus(), ProgramList::FromScheduler(), MythThemedMenuPrivate::handleAction(), IsFrontendOnly(), RemoteCancelNextRecording(), RemoteCheckFile(), RemoteCheckForRecording(), RemoteDeleteRecording(), RemoteFillProginfo(), RemoteGeneratePreviewPixmap(), RemoteGetExistingRecorder(), RemoteGetFlags(), RemoteGetFreeRecorderCount(), RemoteGetFreeSpace(), RemoteGetLoad(), RemoteGetMemStats(), RemoteGetPreviewLastModified(), RemoteGetRecordingList(), RemoteGetRecordingMask(), RemoteGetRecordingStatus(), RemoteGetState(), RemoteGetUptime(), RemoteIsBusy(), PreviewGenerator::RemotePreviewRun(), RemoteRecordings(), RemoteRecordPending(), RemoteRequestBusyInputID(), RemoteRequestFreeInputList(), RemoteRequestFreeRecorderFromList(), RemoteRequestFreeRecorderList(), RemoteRequestNextFreeRecorder(), RemoteRequestRecorder(), RemoteSendMessage(), RemoteStopLiveTV(), RemoteStopRecording(), RemoteUndeleteRecording(), ScheduledRecording::signalChange(), StatusBox::StatusBox(), and TVMenuCallback().
| QImage * MythContext::CacheRemotePixmap | ( | const QString & | url, | |
| bool | reCache = false | |||
| ) |
Definition at line 3194 of file mythcontext.cpp.
Referenced by PlaybackBox::getPixmap(), ChannelInfo::LoadChannelIcon(), and PixmapChannel::LoadChannelIcon().
| void MythContext::SetMainWindow | ( | MythMainWindow * | mainwin | ) |
Definition at line 3488 of file mythcontext.cpp.
Referenced by MythContextPrivate::EndTempWindow(), main(), and MythContextPrivate::TempMainWindow().
| MythMainWindow * MythContext::GetMainWindow | ( | void | ) |
Definition at line 3493 of file mythcontext.cpp.
Referenced by ImportMusicDialog::addAllNewPressed(), MythControls::AddKeyToAction(), ImportMusicDialog::addPressed(), browse(), PlaybackProfileConfigs::btnPress(), ProfileGroupEditor::callDelete(), LogViewer::cancelClicked(), ChannelEditor::channelIconImport(), ChannelRecPriority::ChannelRecPriority(), VideoSelector::checkParentPassword(), checkParentPassword(), MythThemedMenuPrivate::checkPinCode(), ZMClient::checkProtoVersion(), CustomPriority::checkSyntax(), CustomEdit::checkSyntax(), MediaMonitor::ChooseAndEjectMedia(), chooseQueue(), ProgLister::chooseView(), PreviousList::chooseView(), GameHandler::clearAllGameData(), KeyBindings::CommitAction(), KeyBindings::CommitJumppoint(), ZMClient::connectToHost(), CardInput::CreateNewInputGroup(), VideoTree::createPopup(), VideoDialog::createPopup(), ViewScheduled::customEdit(), ProgramRecPriority::customEdit(), ProgLister::customEdit(), ProgFinder::customEdit(), PreviousList::customEdit(), PlaybackBox::customEdit(), GuideGrid::customEdit(), PlaybackBoxMusic::customEvent(), PlaybackBox::customEvent(), MusicPlayer::customEvent(), DatabaseBox::DatabaseBox(), VideoSourceEditor::del(), CaptureCardEditor::del(), MythGamePlayerEditor::del(), ChannelEditor::del(), TransportListEditor::Delete(), SmartPlaylistEditor::deleteCategory(), ChannelEditor::deleteChannels(), MythControls::DeleteKey(), MythNews::deleteNewsSite(), SmartPlaylistDialog::deletePressed(), DisableScreensaver(), MythFlixQueue::displayOptions(), MythFlix::displayOptions(), DatabaseBox::doActivePopup(), PhoneUIBox::doAddDirectoryPopup(), PhoneUIBox::doAddEntryPopup(), PhoneUIBox::doCallPopup(), StorageGroupListEditor::doDelete(), StorageGroupEditor::doDelete(), PlayGroupEditor::doDelete(), mythvideo_videomanager::VideoManagerImp::DoEditMetadata(), TV::doEditSchedule(), mythvideo_videomanager::VideoManagerImp::DoFilter(), PhoneUIBox::doIMPopup(), NuppelVideoPlayer::DoKeypress(), ScreenSetup::doListSelect(), PhoneUIBox::doMenuPopup(), DatabaseBox::doPlaylistPopup(), mythvideo_videomanager::VideoManagerImp::DoRemoveVideo(), PhoneUIBox::doUrlPopup(), mythvideo_videomanager::VideoManagerImp::DoVideoMenu(), VideoSourceEditor::edit(), CaptureCardEditor::edit(), RotorPosMap::edit(), SmartPLCriteriaRow::editDate(), PlaybackBoxMusic::editPlaylist(), SmartPlaylistDialog::editPressed(), DatabaseBox::ErrorPopup(), WeatherSpinBox::eventFilter(), TabView::eventFilter(), MythSpinBox::eventFilter(), MythNewsSpinBox::eventFilter(), MythFlixSpinBox::eventFilter(), InfoDialog::eventFilter(), ScanProgressPopup::exec(), RecordingProfile::exec(), ProfileGroupEditor::exec(), ConfigurationDialog::exec(), ConfigurationPopupDialog::exec(), MythFlixQueue::executeExternal(), MythFlix::executeExternal(), executeExternal(), EditMetadataDialog::findCoverArt(), get_cardtype(), PlaybackBoxMusic::getInsertPLOptions(), RecordingSelector::getRecordingList(), getTempDirectory(), VideoSelector::getVideoList(), DVDRipBox::goRipScreen(), gotoMainMenu(), MythThemedMenuPrivate::handleAction(), MythburnWizard::handleAddFile(), MythburnWizard::handleAddRecording(), ExportNativeWizard::handleAddRecording(), MythburnWizard::handleAddVideo(), ExportNativeWizard::handleAddVideo(), IconView::HandleDeleteCurrent(), IconView::HandleDeleteMarked(), handleExit(), MythburnWizard::handleFind(), ExportNativeWizard::handleFind(), IconView::HandleImageSelect(), IconView::HandleImport(), SevereWeatherScreen::handleKey(), OSDListTreeType::HandleKeypress(), LCD::handleKeyPress(), VisualizationsEditor::handleKeyPress(), IconView::HandleMediaDeviceSelect(), IconView::HandleMkDir(), MythburnWizard::handleNextPage(), ExportNativeWizard::handleNextPage(), IconView::HandleRename(), GameTree::handleTreeListSelection(), VideoGallery::handleVideoSelect(), history(), ScanWizardScanner::ImportDVBUtils(), ScanWizardScanner::ImportM3U(), UIManagedTreeListType::incSearchStart(), UIListBtnType::incSearchStart(), TV::Init(), ZMLivePlayer::initMonitorLayout(), PlaybackBox::initRecGroupPopup(), NuppelVideoPlayer::InitVideo(), internal_play_media(), ImportIconsWizard::isBlocked(), VideoTree::jumpTo(), VideoDialog::jumpTo(), ZMPlayer::keyPressEvent(), ZMLivePlayer::keyPressEvent(), ZMEvents::keyPressEvent(), ZMConsole::keyPressEvent(), WelcomeDialog::keyPressEvent(), WebcamSettingsBox::keyPressEvent(), LocationDialog::keyPressEvent(), SourceSetup::keyPressEvent(), ScreenSetup::keyPressEvent(), GlobalSetup::keyPressEvent(), Weather::keyPressEvent(), VirtualKeyboard::keyPressEvent(), ViewScheduled::keyPressEvent(), ViewScheduleDiff::keyPressEvent(), VideoTree::keyPressEvent(), VideoSelector::keyPressEvent(), VideoSelected::keyPressEvent(), VideoManager::keyPressEvent(), VideoGallery::keyPressEvent(), VideoFilterDialog::keyPressEvent(), VideoBrowser::keyPressEvent(), UIKeyboardType::keyPressEvent(), TitleDialog::keyPressEvent(), ThumbFinder::keyPressEvent(), StatusBox::keyPressEvent(), RecOptDialog::keyPressEvent(), SmartPLDateDialog::keyPressEvent(), SmartPLOrderByDialog::keyPressEvent(), SmartPlaylistDialog::keyPressEvent(), SingleView::keyPressEvent(), RecordingSelector::keyPressEvent(), ProgramRecPriority::keyPressEvent(), ProgLister::keyPressEvent(), ProgFinder::keyPressEvent(), ProgDetails::keyPressEvent(), PreviousList::keyPressEvent(), PlaybackBoxMusic::keyPressEvent(), PlaybackBox::keyPressEvent(), PhoneUIBox::keyPressEvent(), MythMultiPasswordDialog::keyPressEvent(), MythWizard::keyPressEvent(), MythListBox::keyPressEvent(), MythListView::keyPressEvent(), MythPushButton::keyPressEvent(), MythTable::keyPressEvent(), MythRemoteLineEdit::keyPressEvent(), MythLineEdit::keyPressEvent(), MythSlider::keyPressEvent(), MythRadioButton::keyPressEvent(), MythCheckBox::keyPressEvent(), MythComboBox::keyPressEvent(), MythNewsConfig::keyPressEvent(), MythNews::keyPressEvent(), MythNewsBusyDialog::keyPressEvent(), MythFlixQueue::keyPressEvent(), MythFlixConfig::keyPressEvent(), MythFlix::keyPressEvent(), MythScrollDialog::keyPressEvent(), MythImageFileDialog::keyPressEvent(), MythSearchDialog::keyPressEvent(), MythPasswordDialog::keyPressEvent(), MythProgressDialog::keyPressEvent(), MythPopupBox::keyPressEvent(), MythDialog::keyPressEvent(), MythControls::keyPressEvent(), ConfigurationDialogWidget::keyPressEvent(), MythburnWizard::keyPressEvent(), MythAppearance::keyPressEvent(), MoviesUI::keyPressEvent(), MiniPlayer::keyPressEvent(), LogViewer::keyPressEvent(), ImportNativeWizard::keyPressEvent(), ImportCoverArtDialog::keyPressEvent(), ImportMusicDialog::keyPressEvent(), IconView::keyPressEvent(), GuideGrid::keyPressEvent(), GLSingleView::keyPressEvent(), GameTree::keyPressEvent(), FileSelector::keyPressEvent(), FileAssocDialog::keyPressEvent(), ExportNativeWizard::keyPressEvent(), EditMetadataDialog::keyPressEvent(), DVDRipBox::keyPressEvent(), DirectoryFinder::keyPressEvent(), DatabaseBox::keyPressEvent(), ChannelRecPriority::keyPressEvent(), RipStatus::keyPressEvent(), Ripper::keyPressEvent(), VideoDialog::loadWindow(), RecOptDialog::LoadWindow(), ImportMusicDialog::locationPressed(), LircEventLock::lock(), JoystickMenuEventLock::lock(), PhoneUIBox::LoopbackButtonPushed(), FileAssocDialog::makeNewExtension(), MediaMonitor::mediaStatusChanged(), VideoSourceEditor::menu(), CaptureCardEditor::menu(), TransportListEditor::Menu(), MythGamePlayerEditor::menu(), ChannelEditor::menu(), PhoneUIBox::menuHistorySave(), ImportIconsWizard::menuSelection(), myth_system(), MythImageFileDialog::MythImageFileDialog(), mythplugin_config(), mythplugin_run(), MythThemedDialog::MythThemedDialog(), SmartPlaylistDialog::newPressed(), MusicPlayer::nextAuto(), ImportNativeWizard::nextPressed(), InfoDialog::numberPress(), FileSelector::OKPressed(), mythvideo_videomanager::VideoManagerImp::OnPosterDownloadTimeout(), StorageGroupListEditor::open(), StorageGroupEditor::open(), RecordingProfileEditor::open(), PlayGroupEditor::open(), SmartPlaylistEditor::orderByClicked(), MythThemedMenuPrivate::parseMenu(), PhoneUI(), PlaybackBox::PlaybackBox(), playDVD(), ZMEvents::playPressed(), playVCD(), PlayVideo(), VideoTree::playVideo(), VideoDialog::playVideo(), MythNews::playVideo(), MythRemoteLineEdit::popupVirtualKeyboard(), MythLineEdit::popupVirtualKeyboard(), MythComboBox::popupVirtualKeyboard(), ProgLister::powerEdit(), PreviousList::PreviousList(), NetworkControl::processJump(), NetworkControl::processKey(), TV::ProcessKeypress(), NetworkControl::processPlay(), ProgLister::ProgLister(), ProgramRecPriority::ProgramRecPriority(), VideoScannerImp::promptForRemoval(), GameHandler::promptForRemoval(), TV::PromptRecGroupPassword(), queue(), RecOptDialog::RecOptDialog(), UIRichTextType::refreshImage(), NuppelVideoPlayer::ReinitVideo(), Ripper::reject(), reloadTheme(), PreviousList::removalDialog(), ViewScheduled::remove(), ProgramRecPriority::remove(), ProgLister::remove(), GuideGrid::remove(), ResetScreensaver(), MythControls::ResolveConflict(), RestoreScreensaver(), run(), GuideGrid::Run(), runBurnDVD(), runCreateArchive(), runCreateDVD(), runFileSelector(), runGames(), runImportVideo(), runMenu(), runMovies(), runNews(), PlaybackBox::RunPlaybackBox(), ScheduledRecording::runPrevList(), RunProgramFind(), runRecordingSelector(), ScheduledRecording::runRuleList(), MythburnWizard::runScript(), ExportNativeWizard::runScript(), runShowLog(), runTestDVD(), ScheduledRecording::runTitleList(), DeviceTree::RunTypeDialog(), runVideoSelector(), ViewScheduled::RunViewScheduled(), runWeather(), runZMConsole(), runZMEventView(), runZMLiveView(), XMLTV_generic_config::save(), EditMetadataDialog::saveAll(), ScreenSetup::saveData(), EditMetadataDialog::saveToFile(), ScanWizardScanner::Scan(), MediaMonitor::selectDrivePopup(), PlaybackBox::setGroupFilter(), ScanWizard::SetPage(), IconView::SetupMediaMonitor(), Weather::setupPage(), Weather::setupScreens(), MoviesUI::showAbout(), PlaybackBox::showActionPopup(), PlaybackBox::showAvailablePopup(), SmartPlaylistEditor::showCategoryPopup(), PlaybackBox::showDeletePopup(), ProgramInfo::showDetails(), PlaybackBoxMusic::showEditMetadataDialog(), MythburnWizard::showEditMetadataDialog(), ImportMusicDialog::showEditMetadataDialog(), Ripper::showEditMetadataDialog(), mythvideo_videomanager::ExecuteExternalCommand::ShowError(), PlaybackBox::showFileNotFoundActionPopup(), GameTreeItem::showGameInfo(), PlaybackBox::showIconHelp(), ImportMusicDialog::showImportCoverArtDialog(), PlaybackBox::showJobPopup(), SmartPLCriteriaRow::showList(), ImportNativeWizard::showList(), EditMetadataDialog::showList(), Ripper::showList(), ScreenSetup::showLocationPopup(), ZMEvents::showMenu(), VideoSelector::showMenu(), ThumbFinder::showMenu(), RecordingSelector::showMenu(), PlaybackBoxMusic::showMenu(), PlaybackBox::showMenu(), MythburnWizard::showMenu(), MoviesUI::showMenu(), LogViewer::showMenu(), ImportMusicDialog::showMenu(), ExportNativeWizard::showMenu(), EditMetadataDialog::showMenu(), MusicPlayer::showMiniPlayer(), SRRecGroup::showNewRecGroup(), TV::ShowNoRecorderDialog(), ProgramInfo::ShowNotRecordingDialog(), PlaybackBox::showPlayFromPopup(), PlaybackBox::showPlaylistJobPopup(), PlaybackBox::showPlaylistPopup(), WelcomeDialog::showPopup(), ProgramInfo::ShowRecordingDialog(), PlaybackBox::showRecordingPopup(), SmartPlaylistEditor::showResultsClicked(), EditMetadataDialog::showSaveMenu(), PlaybackBoxMusic::showSearchDialog(), PlaybackBoxMusic::showSmartPlaylistDialog(), PhoneUIBox::showStatistics(), showStatus(), PlaybackBox::showStoragePopup(), PlaybackBox::showTranscodingProfiles(), ScreenSetup::showUnitsPopup(), MusicPlayerSettings::showVisEditor(), showWarningDialog(), WelcomeDialog::shutdownNow(), Bookmarks::slotBookmarksViewExecuted(), VideoTree::slotDoFilter(), VideoDialog::slotDoFilter(), MythFlixQueue::slotMoveToQueue(), MythNews::slotViewArticle(), VideoTree::slotViewCast(), VideoDialog::slotViewCast(), VideoTree::slotViewPlot(), VideoDialog::slotViewPlot(), startChannelRecPriorities(), startCustomEdit(), startCustomPriority(), startDatabaseTree(), startDelete(), startDVDRipper(), startImport(), startManaged(), startManual(), startManualSchedule(), startPlayback(), NuppelVideoPlayer::StartPlaying(), startPrevious(), startProgramRecPriorities(), startRipper(), Ripper::startRipper(), Ripper::startScanCD(), startSearchCategory(), startSearchChannel(), startSearchKeyword(), startSearchMovie(), startSearchNew(), startSearchPeople(), startSearchPower(), startSearchStored(), startSearchTime(), startSearchTitle(), TV::StartTV(), startWebcamSettings(), ViewScheduleDiff::statusDialog(), CustomEdit::storeClicked(), ImportIconsWizard::submit(), CustomEdit::testClicked(), TestPopupVersion(), ScheduledRecording::testRecording(), CustomPriority::testSchedule(), MainVisual::timeout(), OpenGLVideoSync::TryInit(), LircEventLock::unlock(), JoystickMenuEventLock::unlock(), ViewScheduled::upcoming(), ViewScheduleDiff::upcoming(), ProgramRecPriority::upcoming(), ProgLister::upcoming(), ProgFinder::upcoming(), PreviousList::upcoming(), PlaybackBox::upcoming(), GuideGrid::upcoming(), ChannelRecPriority::upcoming(), MoviesUI::updateMovieTimes(), VideoSelected::updatePlayWait(), VideoCallback(), ViewScheduleDiff::ViewScheduleDiff(), TitleDialog::viewTitle(), WeatherCallback(), WebcamSettingsBox::WebcamSettingsBox(), and TV::~TV().
| int MythContext::PromptForSchemaUpgrade | ( | const QString & | dbver, | |
| const QString & | current, | |||
| const QString & | backupResult | |||
| ) |
Try to prevent silent, automatic database upgrades.
Definition at line 3510 of file mythcontext.cpp.
Referenced by UpgradeTVDatabaseSchema().
| bool MythContext::TestPopupVersion | ( | const QString & | name, | |
| const QString & | libversion, | |||
| const QString & | pluginversion | |||
| ) |
| void MythContext::SetDisableLibraryPopup | ( | bool | check | ) |
Definition at line 3756 of file mythcontext.cpp.
Referenced by MythPluginManager::MythPluginManager().
| void MythContext::SetPluginManager | ( | MythPluginManager * | pmanager | ) |
| MythPluginManager * MythContext::getPluginManager | ( | void | ) |
Definition at line 3766 of file mythcontext.cpp.
Referenced by MythThemedMenuPrivate::handleAction().
| bool MythContext::CheckProtoVersion | ( | MythSocket * | socket | ) |
Definition at line 3359 of file mythcontext.cpp.
Referenced by ConnectServer(), and RemoteEncoder::openControlSocket().
| void MythContext::DisableScreensaver | ( | void | ) |
Definition at line 3772 of file mythcontext.cpp.
Referenced by TV::ChangeChannel(), TV::DoPause(), TV::DoPlay(), GLSingleView::GLSingleView(), TV::HandleStateChange(), SingleView::keyPressEvent(), GLSingleView::keyPressEvent(), DVDRingBufferPriv::safe_read(), SingleView::SingleView(), and TV::ToggleInputs().
| void MythContext::RestoreScreensaver | ( | void | ) |
Definition at line 3778 of file mythcontext.cpp.
Referenced by TV::DoPause(), AvFormatDecoder::GetFrame(), TV::HandleStateChange(), SingleView::keyPressEvent(), GLSingleView::keyPressEvent(), and TV::SwitchCards().
| void MythContext::ResetScreensaver | ( | void | ) |
| void MythContext::DoDisableScreensaver | ( | void | ) |
Definition at line 3790 of file mythcontext.cpp.
Referenced by MythMainWindow::customEvent(), VisualBase::VisualBase(), and ZMLivePlayer::ZMLivePlayer().
| void MythContext::DoRestoreScreensaver | ( | void | ) |
Definition at line 3799 of file mythcontext.cpp.
Referenced by MythMainWindow::customEvent(), VisualBase::~VisualBase(), and ZMLivePlayer::~ZMLivePlayer().
| void MythContext::DoResetScreensaver | ( | void | ) |
| bool MythContext::GetScreensaverEnabled | ( | void | ) |
Definition at line 3817 of file mythcontext.cpp.
| bool MythContext::GetScreenIsAsleep | ( | void | ) |
| void MythContext::addPrivRequest | ( | MythPrivRequest::Type | t, | |
| void * | data | |||
| ) |
Definition at line 3918 of file mythcontext.cpp.
Referenced by main(), and NuppelVideoPlayer::StartPlaying().
| void MythContext::waitPrivRequest | ( | ) | const |
| MythPrivRequest MythContext::popPrivRequest | ( | ) |
| void MythContext::addCurrentLocation | ( | QString | location | ) |
Definition at line 3984 of file mythcontext.cpp.
Referenced by browse(), ChannelRecPriority::ChannelRecPriority(), MythPluginManager::config_plugin(), CustomEdit::CustomEdit(), CustomPriority::CustomPriority(), history(), main(), ManualBox::ManualBox(), ManualSchedule::ManualSchedule(), MythAppearance::MythAppearance(), PlaybackBox::PlaybackBox(), playDVD(), playVCD(), PreviousList::PreviousList(), ProgLister::ProgLister(), ProgramRecPriority::ProgramRecPriority(), queue(), GuideGrid::Run(), MythPluginManager::run_plugin(), runGallery(), runGames(), runMovies(), runMusicPlayback(), runMusicSelection(), runNews(), RunProgramFind(), runRipCD(), runWeather(), runZMConsole(), runZMEventView(), runZMLiveView(), startDVDRipper(), StatusBox::StatusBox(), TV::TV(), TVMenuCallback(), and ViewScheduled::ViewScheduled().
| QString MythContext::removeCurrentLocation | ( | void | ) |
Definition at line 3991 of file mythcontext.cpp.
Referenced by browse(), MythPluginManager::config_plugin(), history(), MythAppearance::keyPressEvent(), playDVD(), playVCD(), queue(), GuideGrid::Run(), MythPluginManager::run_plugin(), runGallery(), runGames(), runMovies(), runMusicPlayback(), runMusicSelection(), runNews(), RunProgramFind(), runRipCD(), runWeather(), runZMConsole(), runZMEventView(), runZMLiveView(), signal_USR1_handler(), startDVDRipper(), TVMenuCallback(), ChannelRecPriority::~ChannelRecPriority(), CustomEdit::~CustomEdit(), CustomPriority::~CustomPriority(), ManualBox::~ManualBox(), ManualSchedule::~ManualSchedule(), PlaybackBox::~PlaybackBox(), PreviousList::~PreviousList(), ProgLister::~ProgLister(), ProgramRecPriority::~ProgramRecPriority(), StatusBox::~StatusBox(), TV::~TV(), and ViewScheduled::~ViewScheduled().
| QString MythContext::getCurrentLocation | ( | void | ) |
Definition at line 4003 of file mythcontext.cpp.
Referenced by NetworkControl::processJump(), NetworkControl::processPlay(), NetworkControl::processQuery(), and NetworkControl::saveScreenshot().
| void MythContext::dispatch | ( | 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 QApplication::postEvent.
| event | a MythEvent to dispatch. |
Reimplemented from MythObservable.
Definition at line 4032 of file mythcontext.cpp.
Referenced by LiveTVChain::BroadcastUpdate(), MainServer::connectionClosed(), MainServer::customEvent(), MainServer::DoDeleteInDB(), MainServer::DoDeleteThread(), JobQueue::DoFlagCommercialsThread(), MainServer::DoHandleDeleteRecording(), MainServer::DoHandleUndeleteRecording(), JobQueue::DoTranscodeThread(), JobQueue::DoUserJobThread(), TVRec::FinishedRecording(), TVRec::GetProgramRingBufferForLiveTV(), MainServer::HandleAnnounce(), MainServer::HandleMessage(), TVRec::HandlePendingRecordings(), SignalMonitor::MonitorLoop(), TVRec::NotifySchedulerOfRecording(), JobQueue::PauseJob(), TV::ProcessNetworkControlCommand(), PlaybackBox::processNetworkControlCommand(), NetworkControl::processPlay(), NetworkControl::processQuery(), MainServer::ProcessRequestWork(), readyRead(), JobQueue::RestartJob(), JobQueue::ResumeJob(), Scheduler::RunScheduler(), TVRec::RunTV(), NetworkControl::saveScreenshot(), AutoExpire::SendDeleteMessages(), PlaybackSock::SendReceiveStringList(), SendReceiveStringList(), TVRec::SetLiveRecording(), Scheduler::ShutdownServer(), ScheduledRecording::signalChange(), TVRec::StartedRecording(), TVRec::StartRecording(), JobQueue::StopJob(), TVRec::TeardownRecorder(), MHIContext::TuneTo(), TVRec::TuningFrequency(), and TVRec::TuningNewRecorder().
| void MythContext::dispatchNow | ( | MythEvent & | event | ) |
Dispatch an event to all listeners.
See dispatch.
| event | a MythEvent to dispatch. |
Reimplemented from MythObservable.
Definition at line 4040 of file mythcontext.cpp.
Referenced by AutoExpire::ExpireEpisodesOverMax(), sendPlaybackEnd(), and sendPlaybackStart().
| void MythContext::sendPlaybackStart | ( | void | ) |
Definition at line 4048 of file mythcontext.cpp.
Referenced by playDVD(), playVCD(), PlayVideo(), MythNews::playVideo(), and TV::StartTV().
| void MythContext::sendPlaybackEnd | ( | void | ) |
Definition at line 4054 of file mythcontext.cpp.
Referenced by playDVD(), playVCD(), PlayVideo(), MythNews::playVideo(), and TV::StartTV().
| void MythContext::SetX11Display | ( | const QString & | display | ) | [static] |
This needs to be set before MythContext is initialized so that the MythContext::Init() can detect Xinerama setups.
Definition at line 4022 of file mythcontext.cpp.
Referenced by main().
| QString MythContext::GetX11Display | ( | void | ) | [static] |
Definition at line 4027 of file mythcontext.cpp.
Referenced by ZMPlayer::initPlayerGl(), ZMPlayer::initPlayerXv(), MythXOpenDisplay(), Player::startPlayerGL(), and Player::startPlayerXv().
| void MythContext::SetPalette | ( | QWidget * | widget | ) | [private] |
| void MythContext::InitializeScreenSettings | ( | void | ) | [private] |
| void MythContext::ClearOldImageCache | ( | void | ) | [private] |
| void MythContext::CacheThemeImages | ( | void | ) | [private] |
| void MythContext::CacheThemeImagesDirectory | ( | const QString & | dirname, | |
| const QString & | subdirname = "" | |||
| ) | [private] |
| void MythContext::RemoveCacheDir | ( | const QString & | dirname | ) | [private] |
| void MythContext::connected | ( | MythSocket * | sock | ) | [private, virtual] |
| void MythContext::connectionClosed | ( | MythSocket * | sock | ) | [private, virtual] |
| void MythContext::readyRead | ( | MythSocket * | sock | ) | [private, virtual] |
| void MythContext::connectionFailed | ( | MythSocket * | sock | ) | [inline, private, virtual] |
QMutex MythContext::verbose_mutex [static] |
Definition at line 330 of file mythcontext.h.
QString MythContext::x11_display = QString::null [static] |
MythContextPrivate* MythContext::d [private] |
Definition at line 348 of file mythcontext.h.
Referenced by ActivateSettingsCache(), addPrivRequest(), AllowShutdown(), BlockShutdown(), CacheRemotePixmap(), CacheThemeImages(), CacheThemeImagesDirectory(), CheckProtoVersion(), ClearOldImageCache(), ClearSettingsCache(), connectionClosed(), ConnectServer(), ConnectToMasterServer(), DoDisableScreensaver(), DoResetScreensaver(), DoRestoreScreensaver(), GetBigFont(), GetDatabaseParams(), GetDBManager(), GetHostName(), GetInstallPrefix(), GetLanguageAndVariant(), GetLibraryDir(), GetMainWindow(), GetMasterHostPrefix(), GetMediumFont(), GetMenuThemeDir(), getPluginManager(), GetScreenBounds(), GetScreenIsAsleep(), GetScreensaverEnabled(), GetScreenSettings(), GetSetting(), GetSettingOnHost(), GetShareDir(), GetSmallFont(), GetThemeDir(), GetThemeSearchPath(), Init(), IsBackend(), IsConnectedToMaster(), LoadQtConfig(), LoadScaleImage(), LoadScalePixmap(), LogEntry(), MythContext(), OverrideSettingForSession(), ParseGeometryOverride(), popPrivRequest(), PromptForSchemaUpgrade(), qtconfig(), readyRead(), RefreshBackendConfig(), SaveDatabaseParams(), SaveSetting(), SendReceiveStringList(), SetBackend(), SetDisableLibraryPopup(), SetMainWindow(), SetPalette(), SetPluginManager(), SetSetting(), TestPopupVersion(), ThemeWidget(), UpdateImageCache(), waitPrivRequest(), and ~MythContext().
QString MythContext::app_binary_version [private] |
QMutex MythContext::locationLock [private] |
Definition at line 351 of file mythcontext.h.
Referenced by addCurrentLocation(), getCurrentLocation(), and removeCurrentLocation().
QValueList<QString> MythContext::currentLocation [private] |
Definition at line 352 of file mythcontext.h.
Referenced by addCurrentLocation(), getCurrentLocation(), and removeCurrentLocation().
1.5.5