Simple trikrc file parser.
More...
#include <rcReader.h>
|
| RcReader (const QString &rcFilePath, QObject *parent=0) |
| Constructor. More...
|
|
void | read () |
| Clears data from previous trikrc reading and reads it again. More...
|
|
QString | value (const QString &name) const |
| Get value of variable in trikrc. More...
|
|
Simple trikrc file parser.
RcReader::RcReader |
( |
const QString & |
rcFilePath, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
rcFilePath | - trikrc file path. |
parent | - parent of this object in Qt object hierarchy. |
Clears data from previous trikrc reading and reads it again.
QString RcReader::value |
( |
const QString & |
name | ) |
const |
Get value of variable in trikrc.
- Parameters
-
- Returns
- value if variable is found and empty string otherwise.
The documentation for this class was generated from the following files: