#include <commandlineoption.h>
Abstract base class of the command line plugins.
- Author
- Vladimir Kuznetsov vovan.nosp@m.ec@g.nosp@m.mail..nosp@m.ru
◆ ~CommandLineOption()
◆ createTranslator()
virtual QTranslator* createTranslator |
( |
QObject * |
parent | ) |
|
|
pure virtual |
Creates translator with parent object parent
◆ executeCommand()
virtual QString executeCommand |
( |
const QString & |
opt_str, |
|
|
const QStringList & |
args |
|
) |
| |
|
pure virtual |
Parses opt_str args(if needed), executes command.
- Parameters
-
opt_str | Command to execute |
args | Command arguments |
- Returns
- Command output
◆ helpString()
virtual const QStringList helpString |
( |
| ) |
const |
|
pure virtual |
A list of specially formatted help strings. Example: "--help||Display this text and exit".
◆ identify()
virtual bool identify |
( |
const QString & |
opt_str | ) |
const |
|
pure virtual |
Returns true if opt_str string can be processed, otherise false
◆ name()
virtual const QString name |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: