Public Member Functions | |
| ArgsParser (int c, char **v) | |
| Pre-fil available translations into QMap to cooperate with PreferencesDialog. | |
| ~ArgsParser () | |
| bool | parseArgs () |
| QString | localeCode () |
| Get the right translations. Property: 1) specified from CLI - it overrides Prefs or System 2) from preferences 3) system pre-configured. | |
| const QString & | fileToOpen () |
| No file is opened when the returned value is null. | |
| ArgsParser::ArgsParser | ( | int | c, | |
| char ** | v | |||
| ) |
Pre-fil available translations into QMap to cooperate with PreferencesDialog.
| ArgsParser::~ArgsParser | ( | ) | [inline] |
| bool ArgsParser::parseArgs | ( | ) |
References ARG_AVAILLANG, ARG_AVAILLANG_SHORT, ARG_HELP, ARG_HELP_SHORT, ARG_LANG, ARG_LANG_SHORT, ARG_VERSION, and ARG_VERSION_SHORT.
Referenced by main().
| QString ArgsParser::localeCode | ( | ) |
Get the right translations. Property: 1) specified from CLI - it overrides Prefs or System 2) from preferences 3) system pre-configured.
References Preferences::GUItranslator(), and Preferences::instance().
Referenced by main().
| const QString & ArgsParser::fileToOpen | ( | ) |
No file is opened when the returned value is null.
References Preferences::instance(), Preferences::lastDB(), and Preferences::openLastDB().
Referenced by main().
1.5.5