|
Cute Chess
0.1
|
#include <matchparser.h>
Public Member Functions | |
| QMap< QString, QString > | toMap (const QString &validArgs) const |
Public Attributes | |
| QString | name |
| The name of the option. | |
| QVariant | value |
| The value of the option. | |
A parsed command line option.
Returns a QMap containing a StringList option's parameters as name-value pairs.
validArgs should contain all acceptable argument names for this option, separated by the '|' character (eg. "argument1|argument2").
If this option's arguments don't match the ones in validArgs exactly, an empty map is returned.
1.8.11