MythTV  master
Classes | Typedefs | Functions
mythsettings.h File Reference
#include <utility>
#include <QMap>
#include <QStringList>
Include dependency graph for mythsettings.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MythSettingBase
 
class  MythSettingGroup
 
class  MythSetting
 

Typedefs

using MythSettingList = QList< MythSettingBase * >
 

Functions

bool parse_settings (MythSettingList &settings, const QString &filename, const QString &group="")
 
bool load_settings (MythSettingList &settings, const QString &hostname)
 
bool check_settings (MythSettingList &database_settings, const QMap< QString, QString > &params, QString &result)
 
QStringList GetSettingValueList (const QString &type)
 
QString StringMapToJSON (const QMap< QString, QString > &map)
 
QString StringListToJSON (const QString &key, const QStringList &sList)
 
QMap< QString, QString > GetSettingsMap (const MythSettingList &settings, const QString &hostname)
 

Typedef Documentation

◆ MythSettingList

Definition at line 19 of file mythsettings.h.

Function Documentation

◆ parse_settings()

bool parse_settings ( MythSettingList settings,
const QString &  filename,
const QString &  group = "" 
)

Definition at line 640 of file mythsettings.cpp.

Referenced by HttpConfig::ProcessRequest().

◆ load_settings()

bool load_settings ( MythSettingList settings,
const QString &  hostname 
)

Definition at line 675 of file mythsettings.cpp.

Referenced by HttpConfig::ProcessRequest().

◆ check_settings()

bool check_settings ( MythSettingList database_settings,
const QMap< QString, QString > &  params,
QString &  result 
)

Definition at line 716 of file mythsettings.cpp.

Referenced by HttpConfig::ProcessRequest().

◆ GetSettingValueList()

QStringList GetSettingValueList ( const QString &  type)

Definition at line 400 of file mythsettings.cpp.

Referenced by fill_setting(), and HttpConfig::ProcessRequest().

◆ StringMapToJSON()

QString StringMapToJSON ( const QMap< QString, QString > &  map)

Definition at line 421 of file mythsettings.cpp.

Referenced by HttpConfig::ProcessRequest().

◆ StringListToJSON()

QString StringListToJSON ( const QString &  key,
const QStringList &  sList 
)

Definition at line 445 of file mythsettings.cpp.

Referenced by HttpConfig::ProcessRequest().

◆ GetSettingsMap()

QMap<QString,QString> GetSettingsMap ( const MythSettingList settings,
const QString &  hostname 
)

Definition at line 353 of file mythsettings.cpp.

Referenced by HttpConfig::ProcessRequest().