|
MythTV
0.26-pre
|
Public Types | |
| typedef QPair< QString, QString > | KeyValue |
| typedef QList< KeyValue > | KeyValueList |
| typedef QMap< QString, KeyValueList > | ConfigMap |
Public Member Functions | |
| CfgReader () | |
| ~CfgReader () | |
| void | parse (const char *d, int l) |
| QList< QString > | getSections (void) |
| QList< QString > | getKeys (const QString §ion) |
| QString | getStrVal (const QString §ion, const QString &key, const QString &def="") |
| int | getIntVal (const QString §ion, const QString &key, int def=0) |
Private Attributes | |
| ConfigMap | cfg |
| typedef QPair<QString,QString> CfgReader::KeyValue |
| typedef QList<KeyValue> CfgReader::KeyValueList |
| typedef QMap<QString, KeyValueList> CfgReader::ConfigMap |
| CfgReader::CfgReader | ( | ) | [inline] |
| CfgReader::~CfgReader | ( | ) | [inline] |
| void CfgReader::parse | ( | const char * | d, |
| int | l | ||
| ) | [inline] |
Definition at line 42 of file pls.cpp.
Referenced by PlayListFile::parsePLS().
| QList<QString> CfgReader::getSections | ( | void | ) | [inline] |
| QList<QString> CfgReader::getKeys | ( | const QString & | section | ) | [inline] |
| QString CfgReader::getStrVal | ( | const QString & | section, |
| const QString & | key, | ||
| const QString & | def = "" |
||
| ) | [inline] |
Definition at line 165 of file pls.cpp.
Referenced by PlayListFile::parsePLS().
| int CfgReader::getIntVal | ( | const QString & | section, |
| const QString & | key, | ||
| int | def = 0 |
||
| ) | [inline] |
Definition at line 182 of file pls.cpp.
Referenced by PlayListFile::parsePLS().
ConfigMap CfgReader::cfg [private] |
1.7.6.1