MythTV master
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
anonymous_namespace{mythcontext.cpp}::GUISettingsCache Class Reference
Collaboration diagram for anonymous_namespace{mythcontext.cpp}::GUISettingsCache:
[legend]

Public Member Functions

 GUISettingsCache ()=default
 
 GUISettingsCache (const QString &cache_filename, QString cache_path)
 
bool save ()
 
void loadOverrides () const
 

Static Public Member Functions

static void clearOverrides ()
 

Private Attributes

QString m_cacheFilename {"cache/contextcache.xml"}
 
QString m_cachePath {"cache"}
 

Static Private Attributes

static const std::array< QString, 13 > kSettings
 

Detailed Description

Definition at line 75 of file mythcontext.cpp.

Constructor & Destructor Documentation

◆ GUISettingsCache() [1/2]

anonymous_namespace{mythcontext.cpp}::GUISettingsCache::GUISettingsCache ( )
default

◆ GUISettingsCache() [2/2]

anonymous_namespace{mythcontext.cpp}::GUISettingsCache::GUISettingsCache ( const QString &  cache_filename,
QString  cache_path 
)
inline

Definition at line 79 of file mythcontext.cpp.

Member Function Documentation

◆ clearOverrides()

void anonymous_namespace{mythcontext.cpp}::GUISettingsCache::clearOverrides ( )
static

Definition at line 1537 of file mythcontext.cpp.

◆ loadOverrides()

void anonymous_namespace{mythcontext.cpp}::GUISettingsCache::loadOverrides ( ) const

Definition at line 1520 of file mythcontext.cpp.

◆ save()

bool anonymous_namespace{mythcontext.cpp}::GUISettingsCache::save ( )

Definition at line 1490 of file mythcontext.cpp.

Member Data Documentation

◆ kSettings

const std::array< QString, 13 > anonymous_namespace{mythcontext.cpp}::GUISettingsCache::kSettings
staticprivate
Initial value:
{ "Theme", "Language", "Country", "GuiHeight",
"GuiOffsetX", "GuiOffsetY", "GuiWidth", "RunFrontendInWindow",
"AlwaysOnTop", "HideMouseCursor", "ThemePainter", "libCECEnabled",
"StartupScreenDelay" }

Definition at line 97 of file mythcontext.cpp.

◆ m_cacheFilename

QString anonymous_namespace{mythcontext.cpp}::GUISettingsCache::m_cacheFilename {"cache/contextcache.xml"}
private

Definition at line 94 of file mythcontext.cpp.

◆ m_cachePath

QString anonymous_namespace{mythcontext.cpp}::GUISettingsCache::m_cachePath {"cache"}
private

Definition at line 95 of file mythcontext.cpp.


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