#include <commandlineoption.h>
Public Member Functions | |
| virtual bool | identify (const QString &opt_str) const =0 |
| virtual const QString | name () const =0 |
| virtual const QString | helpString () const =0 |
| virtual void | executeCommand (const QString &opt_str, const QStringList &args)=0 |
| virtual QTranslator * | createTranslator (QObject *parent)=0 |
| virtual | ~CommandLineOption () |
| virtual CommandLineOption::~CommandLineOption | ( | ) | [inline, virtual] |
Object destructor
| virtual QTranslator* CommandLineOption::createTranslator | ( | QObject * | parent | ) | [pure virtual] |
Creates translator with parent object parent
| virtual void CommandLineOption::executeCommand | ( | const QString & | opt_str, | |
| const QStringList & | args | |||
| ) | [pure virtual] |
Parses opt_str args(if needed), executes command.
| opt_str | Command to execute | |
| args | Command arguments |
| virtual const QString CommandLineOption::helpString | ( | ) | const [pure virtual] |
Help string.
| virtual bool CommandLineOption::identify | ( | const QString & | opt_str | ) | const [pure virtual] |
Returns true if opt_str string can be processed, otherise false
| virtual const QString CommandLineOption::name | ( | ) | const [pure virtual] |
Command line option name
1.5.9