MythTV  master
Macros | Functions
mythsettings.cpp File Reference
#include <QDomDocument>
#include <QFile>
#include <QNetworkInterface>
#include "libmyth/mythcontext.h"
#include "libmythbase/mythdb.h"
#include "libmythtv/channelsettings.h"
#include "libmythtv/frequencies.h"
#include "mythsettings.h"
Include dependency graph for mythsettings.cpp:

Go to the source code of this file.

Macros

#define LOC
 

Functions

MythSetting::SettingType parse_setting_type (const QString &str)
 
MythSetting::DataType parse_data_type (const QString &str)
 
bool parse_dom (MythSettingList &settings, const QDomElement &element, const QString &filename, const QString &group, bool includeAllChildren, bool &foundGroup)
 
static QString indent (uint level)
 
static QString extract_query_list (const MythSettingList &settings, MythSetting::SettingType stype)
 
static void fill_setting (MythSettingBase *sb, const QMap< QString, QString > &map, MythSetting::SettingType stype)
 
static void fill_settings (MythSettingList &settings, MSqlQuery &query, MythSetting::SettingType stype)
 
QMap< QString, QString > GetSettingsMap (const MythSettingList &settings, const QString &hostname)
 
QStringList GetSettingValueList (const QString &type)
 
QString StringMapToJSON (const QMap< QString, QString > &map)
 
QString StringListToJSON (const QString &key, const QStringList &sList)
 
bool parse_settings (MythSettingList &settings, const QString &filename, const QString &group)
 
bool load_settings (MythSettingList &settings, const QString &hostname)
 
bool check_settings (MythSettingList &, const QMap< QString, QString > &params, QString &result)
 

Macro Definition Documentation

◆ LOC

#define LOC
Value:
QString("parse_dom(%1@~%2), error: ") \
.arg(filename).arg(e.lineNumber())

Function Documentation

◆ parse_setting_type()

MythSetting::SettingType parse_setting_type ( const QString &  str)

Definition at line 310 of file mythsettings.cpp.

Referenced by parse_dom().

◆ parse_data_type()

MythSetting::DataType parse_data_type ( const QString &  str)

Definition at line 322 of file mythsettings.cpp.

Referenced by parse_dom().

◆ parse_dom()

bool parse_dom ( MythSettingList settings,
const QDomElement &  element,
const QString &  filename,
const QString &  group,
bool  includeAllChildren,
bool foundGroup 
)

Definition at line 473 of file mythsettings.cpp.

Referenced by parse_settings().

◆ indent()

static QString indent ( uint  level)
static

◆ extract_query_list()

static QString extract_query_list ( const MythSettingList settings,
MythSetting::SettingType  stype 
)
static

Definition at line 29 of file mythsettings.cpp.

Referenced by GetSettingsMap(), and load_settings().

◆ fill_setting()

static void fill_setting ( MythSettingBase sb,
const QMap< QString, QString > &  map,
MythSetting::SettingType  stype 
)
static

Definition at line 52 of file mythsettings.cpp.

Referenced by fill_settings().

◆ fill_settings()

static void fill_settings ( MythSettingList settings,
MSqlQuery query,
MythSetting::SettingType  stype 
)
static

Definition at line 128 of file mythsettings.cpp.

Referenced by load_settings().

◆ GetSettingsMap()

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

Definition at line 357 of file mythsettings.cpp.

Referenced by HttpConfig::ProcessRequest().

◆ GetSettingValueList()

QStringList GetSettingValueList ( const QString &  type)

Definition at line 404 of file mythsettings.cpp.

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

◆ StringMapToJSON()

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

Definition at line 425 of file mythsettings.cpp.

Referenced by HttpConfig::ProcessRequest().

◆ StringListToJSON()

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

Definition at line 449 of file mythsettings.cpp.

Referenced by HttpConfig::ProcessRequest().

◆ parse_settings()

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

Definition at line 646 of file mythsettings.cpp.

Referenced by HttpConfig::ProcessRequest().

◆ load_settings()

bool load_settings ( MythSettingList settings,
const QString &  hostname 
)

Definition at line 681 of file mythsettings.cpp.

Referenced by HttpConfig::ProcessRequest().

◆ check_settings()

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

Definition at line 722 of file mythsettings.cpp.

Referenced by HttpConfig::ProcessRequest().

build_compdb.filename
filename
Definition: build_compdb.py:21