MythTV
master
|
#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"
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 > ¶ms, QString &result) |
#define LOC |
MythSetting::SettingType parse_setting_type | ( | const QString & | str | ) |
Definition at line 310 of file mythsettings.cpp.
Referenced by parse_dom().
MythSetting::DataType parse_data_type | ( | const QString & | str | ) |
Definition at line 322 of file mythsettings.cpp.
Referenced by 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().
|
static |
Definition at line 21 of file mythsettings.cpp.
Referenced by LCDServer::switchToMenu(), MythDB::toCommaList(), MythSettingGroup::ToHTML(), MythSetting::ToHTML(), PSIPTable::toStringXML(), SpliceTimeView::toStringXML(), SpliceInformationTable::toStringXML(), and PSIPTable::XMLValues().
|
static |
Definition at line 29 of file mythsettings.cpp.
Referenced by GetSettingsMap(), and load_settings().
|
static |
Definition at line 52 of file mythsettings.cpp.
Referenced by fill_settings().
|
static |
Definition at line 128 of file mythsettings.cpp.
Referenced by load_settings().
QMap<QString,QString> GetSettingsMap | ( | const MythSettingList & | settings, |
const QString & | hostname | ||
) |
Definition at line 357 of file mythsettings.cpp.
Referenced by HttpConfig::ProcessRequest().
QStringList GetSettingValueList | ( | const QString & | type | ) |
Definition at line 404 of file mythsettings.cpp.
Referenced by fill_setting(), and HttpConfig::ProcessRequest().
QString StringMapToJSON | ( | const QMap< QString, QString > & | map | ) |
Definition at line 425 of file mythsettings.cpp.
Referenced by HttpConfig::ProcessRequest().
QString StringListToJSON | ( | const QString & | key, |
const QStringList & | sList | ||
) |
Definition at line 449 of file mythsettings.cpp.
Referenced by HttpConfig::ProcessRequest().
bool parse_settings | ( | MythSettingList & | settings, |
const QString & | filename, | ||
const QString & | group | ||
) |
Definition at line 646 of file mythsettings.cpp.
Referenced by HttpConfig::ProcessRequest().
bool load_settings | ( | MythSettingList & | settings, |
const QString & | hostname | ||
) |
Definition at line 681 of file mythsettings.cpp.
Referenced by HttpConfig::ProcessRequest().
bool check_settings | ( | MythSettingList & | , |
const QMap< QString, QString > & | params, | ||
QString & | result | ||
) |
Definition at line 722 of file mythsettings.cpp.
Referenced by HttpConfig::ProcessRequest().