MythTV  master
Public Member Functions | List of all members
Configuration Class Referenceabstract

#include <configuration.h>

Inheritance diagram for Configuration:
Inheritance graph
[legend]

Public Member Functions

virtual ~Configuration ()=default
 
virtual bool Load (void)=0
 
virtual bool Save (void)=0
 
virtual int GetValue (const QString &sSetting, int Default)=0
 
virtual QString GetValue (const QString &sSetting, QString Default)=0
 
virtual bool GetBoolValue (const QString &sSetting, bool Default)=0
 
virtual void SetValue (const QString &sSetting, int value)=0
 
virtual void SetValue (const QString &sSetting, QString value)=0
 
virtual void ClearValue (const QString &sSetting)=0
 
virtual void SetBoolValue (const QString &sSetting, bool value)=0
 

Detailed Description

Definition at line 21 of file configuration.h.

Constructor & Destructor Documentation

◆ ~Configuration()

virtual Configuration::~Configuration ( )
virtualdefault

Member Function Documentation

◆ Load()

virtual bool Configuration::Load ( void  )
pure virtual

Implemented in DBConfiguration, and XmlConfiguration.

◆ Save()

virtual bool Configuration::Save ( void  )
pure virtual

◆ GetValue() [1/2]

virtual int Configuration::GetValue ( const QString &  sSetting,
int  Default 
)
pure virtual

◆ GetValue() [2/2]

virtual QString Configuration::GetValue ( const QString &  sSetting,
QString  Default 
)
pure virtual

Implemented in DBConfiguration, and XmlConfiguration.

◆ GetBoolValue()

virtual bool Configuration::GetBoolValue ( const QString &  sSetting,
bool  Default 
)
pure virtual

◆ SetValue() [1/2]

virtual void Configuration::SetValue ( const QString &  sSetting,
int  value 
)
pure virtual

◆ SetValue() [2/2]

virtual void Configuration::SetValue ( const QString &  sSetting,
QString  value 
)
pure virtual

Implemented in DBConfiguration, and XmlConfiguration.

◆ ClearValue()

virtual void Configuration::ClearValue ( const QString &  sSetting)
pure virtual

◆ SetBoolValue()

virtual void Configuration::SetBoolValue ( const QString &  sSetting,
bool  value 
)
pure virtual

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