MagicSmoke
$VERSION$
|
Main application object of MagicSmoke. More...
#include <mapplication.h>
Public Slots | |
void | aboutMS () |
show about dialog More... | |
void | help () |
start a browser with the help page More... | |
void | initialize () |
complete initialization: style, language, data dir More... | |
void | initLanguage () |
initialize the localization More... | |
void | initProfile () |
initialize the profiles More... | |
void | initUpdater () |
initialize the updater More... | |
void | setMyStyle () |
set the configured application style More... | |
void | versionDlg () |
show version info More... | |
Public Member Functions | |
MApplication (int &ac, char **av) | |
create MagicSmoke application More... | |
Static Public Member Functions | |
static QString | choseLanguage (bool warn=true) |
show a dialog to change the language More... | |
static QString | dataDir () |
contains the directory that is used for external data storage More... | |
static QMenu * | helpMenu () |
return the standard help menu More... | |
static int | realmain (int, char **) |
shortcut: the main function More... | |
static void | setConfigDir (QString) |
override the configuration directory More... | |
static void | setDataDir (QString) |
override the data directory More... | |
Main application object of MagicSmoke.
MApplication::MApplication | ( | int & | ac, |
char ** | av | ||
) |
create MagicSmoke application
References dataDir(), ENV_CONFIGDIR, ENV_DATADIR, setConfigDir(), setDataDir(), MProgressWrapper::setFactory(), and MBoxWrapper::setWarning().
|
slot |
show about dialog
References dataDir(), HOMEPAGE_BASEURL, MSInterface::instance(), and MInterface::staticVersionInfo().
Referenced by helpMenu().
|
static |
show a dialog to change the language
Referenced by initLanguage().
|
static |
contains the directory that is used for external data storage
References MSInterface::appDataDir().
Referenced by aboutMS(), initialize(), and MApplication().
|
slot |
|
static |
return the standard help menu
References aboutMS(), help(), HelpUrl::Separator, and versionDlg().
Referenced by MConfigDialog::MConfigDialog(), MLogin::MLogin(), and MTabWin::MTabWin().
|
slot |
complete initialization: style, language, data dir
References dataDir(), initDebug(), initLanguage(), initProfile(), and setMyStyle().
Referenced by main(), and MagicSmokeMain::realmain().
|
slot |
initialize the localization
References choseLanguage(), and loadTranslation().
Referenced by initialize().
|
slot |
initialize the profiles
Referenced by initialize().
|
slot |
initialize the updater
Referenced by main().
|
static |
shortcut: the main function
|
static |
override the configuration directory
References ENV_CONFIGDIR, and MSInterface::resolveDir().
Referenced by MApplication().
|
static |
override the data directory
References ENV_DATADIR, and MSInterface::setAppDataDir().
Referenced by MApplication().
|
slot |
set the configured application style
Referenced by initialize().
|
slot |
show version info
References htmlize(), MInterface::staticVersionInfo(), and MInterface::staticWocVersionInfo().
Referenced by helpMenu().