MythTV  master
Functions
mythdirs.h File Reference
#include <QString>
#include "mythbaseexp.h"
Include dependency graph for mythdirs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

MBASE_PUBLIC void InitializeMythDirs (void)
 
MBASE_PUBLIC QString GetInstallPrefix (void)
 
MBASE_PUBLIC QString GetAppBinDir (void)
 
MBASE_PUBLIC QString GetShareDir (void)
 
MBASE_PUBLIC QString GetLibraryDir (void)
 
MBASE_PUBLIC QString GetConfDir (void)
 
MBASE_PUBLIC QString GetThemesParentDir (void)
 
MBASE_PUBLIC QString GetPluginsDir (void)
 
MBASE_PUBLIC QString GetTranslationsDir (void)
 
MBASE_PUBLIC QString GetFiltersDir (void)
 
MBASE_PUBLIC QString GetCacheDir (void)
 Returns the base directory for all cached files. More...
 
MBASE_PUBLIC QString GetRemoteCacheDir (void)
 Returns the directory for all files cached from the backend. More...
 
MBASE_PUBLIC QString GetThemeBaseCacheDir (void)
 Returns the base directory where all theme related files should be cached. More...
 
MBASE_PUBLIC QString GetThumbnailDir (void)
 Returns the directory where all non-theme thumbnail files should be cached. More...
 
MBASE_PUBLIC QString GetFiltersNameFilter (void)
 
MBASE_PUBLIC QString GetPluginsNameFilter (void)
 
MBASE_PUBLIC QString FindPluginName (const QString &plugname)
 
MBASE_PUBLIC QString GetTranslationsNameFilter (void)
 
MBASE_PUBLIC QString FindTranslation (const QString &translation)
 
MBASE_PUBLIC QString GetFontsDir (void)
 

Function Documentation

◆ InitializeMythDirs()

MBASE_PUBLIC void InitializeMythDirs ( void  )

Definition at line 32 of file mythdirs.cpp.

Referenced by MythContextPrivate::MythContextPrivate().

◆ GetInstallPrefix()

MBASE_PUBLIC QString GetInstallPrefix ( void  )

Definition at line 252 of file mythdirs.cpp.

Referenced by getDBParamters().

◆ GetAppBinDir()

MBASE_PUBLIC QString GetAppBinDir ( void  )

◆ GetShareDir()

MBASE_PUBLIC QString GetShareDir ( void  )

◆ GetLibraryDir()

MBASE_PUBLIC QString GetLibraryDir ( void  )

Definition at line 255 of file mythdirs.cpp.

◆ GetConfDir()

MBASE_PUBLIC QString GetConfDir ( void  )

Definition at line 256 of file mythdirs.cpp.

Referenced by ImageSearchResultsDialog::cleanCacheDir(), NetBase::CleanCacheDir(), MetadataResultsDialog::cleanCacheDir(), cleanThumbnailCacheDir(), V2Channel::CopyIconToBackend(), DecoderHandler::createPlaylistFromRemoteUrl(), ThemeChooser::customEvent(), RSSEditPopup::DoFileBrowser(), ChannelEditor::fillList(), XmltvID::fillSelections(), EditMetadataDialog::FindBanner(), EditRomInfoDialog::FindBoxart(), EditMetadataDialog::FindCoverArt(), EditRomInfoDialog::FindFanart(), EditMetadataDialog::FindFanart(), FindLyrics(), MythThemedMenu::findMenuFile(), EditRomInfoDialog::FindScreenshot(), EditMetadataDialog::FindScreenshot(), EditMetadataDialog::FindTrailer(), HardwareProfile::GenerateUUIDs(), ImageAdapterBase::GetAbsThumbPath(), HardwareProfile::GetAdminPasswordFromFile(), MusicMetadata::getAlbumArtFile(), GetBoxartDir(), getDownloadFilename(), GetFanartDir(), GetNetworkAccessManager(), HardwareProfile::GetPrivateUUIDFromFile(), HardwareProfile::GetPublicUUIDFromFile(), GetScreenshotDir(), GetThumbnailFilename(), Channel::GetXMLTVIdList(), V2Channel::GetXMLTVIdList(), FillData::GrabData(), MainServer::HandleMusicSaveLyrics(), ImportIconsWizard::ImportIconsWizard(), MythUIWebBrowser::Init(), ImportIconsWizard::initialLoad(), MythHTTPS::InitSSLServer(), ChannelEditor::itemChanged(), MythLocale::LoadDefaultsFromXML(), MythBurn::loadEncoderProfiles(), MHIContext::LoadFont(), MythTVMenu::LoadFromFile(), MythRAOPConnection::LoadKey(), ThemeUpdateTask::LoadVersion(), ThemeChooser::LoadVersion(), main(), MythBDInfo::MythBDInfo(), MythNews::MythNews(), BlurayMetadata::OpenDisc(), MythBDBuffer::OpenFile(), Device::RemoveThumbs(), Ripper::Ripper(), MythDownloadManager::run(), CDRipperThread::run(), NAMThread::run(), anonymous_namespace{mythcontext.cpp}::GUISettingsCache::save(), ThemeChooser::saveAndReload(), WaveForm::saveload(), PreviewGenerator::SaveOutFile(), EditMetadataCommon::searchForAlbumImages(), EditMetadataDialog::searchForArtistImages(), EditMetadataDialog::searchForGenreImages(), MythUIWebBrowser::SetDefaultSaveDirectory(), SetupIconCacheDirectory(), NetBase::ShowWebVideo(), MythInputDeviceHandler::Start(), StorageGroup::StaticInit(), anonymous_namespace{videoglobalsettings.cpp}::TrailerDirectory(), anonymous_namespace{videoglobalsettings.cpp}::VideoArtworkDirectory(), anonymous_namespace{videoglobalsettings.cpp}::VideoBannerDirectory(), anonymous_namespace{videoglobalsettings.cpp}::VideoFanartDirectory(), anonymous_namespace{videoglobalsettings.cpp}::VideoScreenshotDirectory(), WeatherSource::WeatherSource(), HardwareProfile::WritePrivateUUIDToFile(), XMLTV_generic_config::XMLTV_generic_config(), MythWebPage::~MythWebPage(), and Ripper::~Ripper().

◆ GetThemesParentDir()

MBASE_PUBLIC QString GetThemesParentDir ( void  )

◆ GetPluginsDir()

MBASE_PUBLIC QString GetPluginsDir ( void  )

Definition at line 258 of file mythdirs.cpp.

Referenced by FindPluginName(), and MythPluginManager::MythPluginManager().

◆ GetTranslationsDir()

MBASE_PUBLIC QString GetTranslationsDir ( void  )

◆ GetFiltersDir()

MBASE_PUBLIC QString GetFiltersDir ( void  )

Definition at line 260 of file mythdirs.cpp.

◆ GetCacheDir()

MBASE_PUBLIC QString GetCacheDir ( void  )

Returns the base directory for all cached files.

On linux this will default to ~/.mythtv/cache.

Definition at line 266 of file mythdirs.cpp.

Referenced by ThemeChooser::LoadVersion().

◆ GetRemoteCacheDir()

MBASE_PUBLIC QString GetRemoteCacheDir ( void  )

Returns the directory for all files cached from the backend.

On linux this will default to ~/.mythtv/cache/remotecache. Items in this directory will be expired after a certain amount of time.

Definition at line 273 of file mythdirs.cpp.

Referenced by PreviewGeneratorQueue::GeneratePreviewImage(), MythUIHelper::getMythUI(), MythUIThemeCache::UpdateImageCache(), and MythUIThemeCache::~MythUIThemeCache().

◆ GetThemeBaseCacheDir()

MBASE_PUBLIC QString GetThemeBaseCacheDir ( void  )

Returns the base directory where all theme related files should be cached.

On linux this will default to ~/.mythtv/cache/themecache. Within this directory, a sub-directory will be created for each theme used.

Definition at line 289 of file mythdirs.cpp.

Referenced by MythUIThemeCache::ClearOldImageCache(), MythUIHelper::getMythUI(), MythUIThemeCache::GetThemeCacheDir(), and MythUIThemeCache::RemoveCacheDir().

◆ GetThumbnailDir()

MBASE_PUBLIC QString GetThumbnailDir ( void  )

Returns the directory where all non-theme thumbnail files should be cached.

On linux this will default to ~/.mythtv/cache/thumbnails. Items in this directory will be expired after a certain amount of time.

Definition at line 281 of file mythdirs.cpp.

Referenced by MythUIThemeCache::GetCacheDirByUrl(), MythUIHelper::getMythUI(), MythUIThemeCache::UpdateImageCache(), and MythUIThemeCache::~MythUIThemeCache().

◆ GetFiltersNameFilter()

MBASE_PUBLIC QString GetFiltersNameFilter ( void  )

Definition at line 315 of file mythdirs.cpp.

◆ GetPluginsNameFilter()

MBASE_PUBLIC QString GetPluginsNameFilter ( void  )

Definition at line 320 of file mythdirs.cpp.

Referenced by MythPluginManager::MythPluginManager().

◆ FindPluginName()

MBASE_PUBLIC QString FindPluginName ( const QString &  plugname)

◆ GetTranslationsNameFilter()

MBASE_PUBLIC QString GetTranslationsNameFilter ( void  )

Definition at line 330 of file mythdirs.cpp.

◆ FindTranslation()

MBASE_PUBLIC QString FindTranslation ( const QString &  translation)

Definition at line 335 of file mythdirs.cpp.

◆ GetFontsDir()

MBASE_PUBLIC QString GetFontsDir ( void  )

Definition at line 341 of file mythdirs.cpp.

Referenced by MHIContext::LoadFont(), and MythThemeBase::MythThemeBase().