ArgsParser Class Reference

Parse the CLI user input. Based on the Scribus code (a bit). More...

List of all members.

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.


Detailed Description

Parse the CLI user input. Based on the Scribus code (a bit).

Author:
Petr Vanek <petr@scribus.info>

Constructor & Destructor Documentation

ArgsParser::ArgsParser ( int  c,
char **  v 
)

Pre-fil available translations into QMap to cooperate with PreferencesDialog.

ArgsParser::~ArgsParser (  )  [inline]


Member Function Documentation

bool ArgsParser::parseArgs (  ) 

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().


The documentation for this class was generated from the following file:

Generated on Sat Jul 26 09:05:56 2008 for Sqliteman by  doxygen 1.5.5