#include <commandlinemanager.h>

Public Member Functions | |
| CommandLineManager (QObject *parent=0) | |
| ~CommandLineManager () | |
| void | executeCommand (const QString &opt_str, const QStringList &args=QStringList()) |
Static Public Member Functions | |
| static bool | hasOption (const QString &opt_str) |
| static void | printUsage () |
| CommandLineManager::CommandLineManager | ( | QObject * | parent = 0 |
) |
Constructs a command line manager.
| parent | QObject parent |
| CommandLineManager::~CommandLineManager | ( | ) |
Object destructor.
| void CommandLineManager::executeCommand | ( | const QString & | opt_str, | |
| const QStringList & | args = QStringList() | |||
| ) |
Executes command opt_str
| opt_str | Command line option string | |
| args | Command arguments |
| static bool CommandLineManager::hasOption | ( | const QString & | opt_str | ) | [static] |
Return true if command opt_str is supported, otherwise returns false
| static void CommandLineManager::printUsage | ( | ) | [static] |
Prints usage to stdout
1.5.9