Get access to the command line arguments in the C-like manner.
More...
#include <Qtx.h>
This class translates command line arguments stored in QApplication in form of QStrlingList to the char* array, in the same way as they specified to main() function.
Constructor of class allocates required memory to store arguments; destructor deallocates it, This allows using this class as a local variable:
some_function(args.
argc(), args.
argv());
Qtx::CmdLineArgs::CmdLineArgs |
( |
| ) |
|
Qtx::CmdLineArgs::~CmdLineArgs |
( |
| ) |
|
int Qtx::CmdLineArgs::argc |
( |
| ) |
const |
- Returns
- number of arguments
char ** Qtx::CmdLineArgs::argv |
( |
| ) |
const |
- Returns
- command line arguments
int Qtx::CmdLineArgs::myArgc |
|
private |
char** Qtx::CmdLineArgs::myArgv |
|
private |
The documentation for this class was generated from the following files: