#include <configfile.h>
Use:
Definition at line 120 of file configfile.h.
Public Member Functions | |
bool | hasChanged () |
void | initOptions (sConfigEntry *tableconst, const char *name=0, const char *path=0) |
bool | readFile (const char *name, const char *path=NULL, bool create=FALSE) |
const char * | readOption (const char *) |
bool | readOption (const char *s, int *i, int &size) |
bool | readOption (const char *s, bool &b) |
bool | readOption (const char *s, double &i) |
bool | readOption (const char *s, float &i) |
bool | readOption (const char *s, short int &i) |
bool | readOption (const char *s, int &i) |
void | registerOption (const char *OptionName, const char *OptionValue) |
bool | saveFile (sConfigEntry *table) |
void | setConfigFilename (const char *t) |
void | setOption (const char *s, int *i, int &size) |
void | setOption (const char *s, bool b) |
void | setOption (const char *s, double t) |
void | setOption (const char *s, float t) |
void | setOption (const char *s, short int t) |
void | setOption (const char *s, int t) |
void | setOption (const char *s, const char *t) |
Private Member Functions | |
configOption * | optionCheck (QString OptN, QString OptV, bool Update) |
int | processLine (QString &s, QString &OptN, QString &OptV) |
void | saveActiveOptions (sConfigEntry *table) |
Private Attributes | |
bool | changed |
QDir | configDir |
QFileInfo | configFileName |
QList< configOption > | optionList |