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 30 of file mythdirs.cpp.

Referenced by MythContextPrivate::MythContextPrivate().

◆ GetInstallPrefix()

MBASE_PUBLIC QString GetInstallPrefix ( void  )

Definition at line 220 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 223 of file mythdirs.cpp.

◆ GetConfDir()

MBASE_PUBLIC QString GetConfDir ( void  )

Definition at line 224 of file mythdirs.cpp.

Referenced by BDInfo::BDInfo(), ImageSearchResultsDialog::cleanCacheDir(), NetBase::CleanCacheDir(), MetadataResultsDialog::cleanCacheDir(), cleanThumbnailCacheDir(), 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(), FillData::GrabData(), MainServer::HandleMusicSaveLyrics(), ImportIconsWizard::ImportIconsWizard(), MythUIWebBrowser::Init(), ImportIconsWizard::initialLoad(), ChannelEditor::itemChanged(), MythLocale::LoadDefaultsFromXML(), MythBurn::loadEncoderProfiles(), MenuBase::LoadFileHelper(), MHIContext::LoadFont(), MythRAOPConnection::LoadKey(), ThemeUpdateTask::LoadVersion(), ThemeChooser::LoadVersion(), main(), MythMainWindow::MythMainWindow(), MythNews::MythNews(), BlurayMetadata::OpenDisc(), BDRingBuffer::OpenFile(), Device::RemoveThumbs(), Ripper::Ripper(), MythDownloadManager::run(), CDRipperThread::run(), NAMThread::run(), ThemeChooser::saveAndReload(), PreviewGenerator::SaveOutFile(), MythContextPrivate::saveSettingsCache(), EditMetadataCommon::searchForAlbumImages(), EditMetadataDialog::searchForArtistImages(), EditMetadataDialog::searchForGenreImages(), MythUIWebBrowser::SetDefaultSaveDirectory(), SetupIconCacheDirectory(), NetBase::ShowWebVideo(), MythMainWindow::StartLIRC(), StorageGroup::StaticInit(), WeatherSource::WeatherSource(), HardwareProfile::WritePrivateUUIDToFile(), XmlConfiguration::XmlConfiguration(), 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 226 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 228 of file mythdirs.cpp.

Referenced by FilterManager::FilterManager().

◆ 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 234 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 241 of file mythdirs.cpp.

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

◆ 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 257 of file mythdirs.cpp.

Referenced by MythUIHelper::ClearOldImageCache(), MythUIHelper::getMythUI(), MythUIHelper::GetThemeCacheDir(), and MythUIHelper::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 249 of file mythdirs.cpp.

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

◆ GetFiltersNameFilter()

MBASE_PUBLIC QString GetFiltersNameFilter ( void  )

Definition at line 283 of file mythdirs.cpp.

Referenced by FilterManager::FilterManager().

◆ GetPluginsNameFilter()

MBASE_PUBLIC QString GetPluginsNameFilter ( void  )

Definition at line 288 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 298 of file mythdirs.cpp.

◆ FindTranslation()

MBASE_PUBLIC QString FindTranslation ( const QString &  translation)

Definition at line 303 of file mythdirs.cpp.

◆ GetFontsDir()

MBASE_PUBLIC QString GetFontsDir ( void  )

Definition at line 309 of file mythdirs.cpp.

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