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 |
Definition at line 28 of file pls.cpp.
| typedef QPair<QString,QString> CfgReader::KeyValue |
| typedef QList<KeyValue> CfgReader::KeyValueList |
| typedef QMap<QString, KeyValueList> CfgReader::ConfigMap |
| void CfgReader::parse | ( | const char * | d, | |
| int | l | |||
| ) | [inline] |
Definition at line 42 of file pls.cpp.
Referenced by PlayListFile::parsePLS().
| 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 getIntVal(), and 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] |
Definition at line 190 of file pls.cpp.
Referenced by getKeys(), getSections(), getStrVal(), and parse().
1.6.3