38 bool removed =
false);
44 const QStringList &
names()
const;
105 void setNames(
const QStringList &newNames);
140 QString _description;
143 QString _deprecatedMsg;
bool isDeprecated() const
isDeprecated This method return true if this option is deprecated.
void setExample(const QString &newExample)
setExample This method sets a new example value of this option
const QString & example() const
example This is example of use string.
const QString & deprecatedMsg() const
deprecatedWarning This is a message that will be printed as a warning if user will use this option....
OptionData(const QStringList &names, const QString &arguments="", const QString &description="", const QString &example="", const QString &deprecatedMsg="", bool removed=false)
OptionData This is main constructor.
void setNames(const QStringList &newNames)
setNames This method sets new value of the option name.
void setDescription(const QString &newDescription)
setDescription This method sets new description of this options.
Help::Options toHelp() const
toHelp This method convert this option into help line. The help line have next structure :
bool isValid() const
isValid This method return true if the option is valid. If option do not contain a name then it is in...
void setArguments(const QString &newArguments)
setArguments This method sets new value of the options arguments
const QString & description() const
description This is description message of this option.
void setDeprecatedMsg(const QString &newDeprecatedMsg)
setDeprecatedMsg This method sets new value of the deprecated warning message of this option.
bool isRemoved() const
isRemoved This method return true if the option is removed.
const QString & arguments() const
arguments This is input arguments of this option or help message about arguments.
const QStringList & names() const
name This is name of the option. It is a required argument and cannot be empty.
QMultiMap< QString, QString > Options
Options this is list of key-descriptions pairs of help. The key is name of the available argument and...
The QuasarAppUtils namespace contains the base functions for all applications of the QuasarApp group....
QMultiHash< QString, OptionData > OptionsDataList
OptionsList is Hash map of the OptionData items. Where the key it is group name and value it is optio...
#define QUASARAPPSHARED_EXPORT