Main Class Reference

#include <main.h>

+ Inheritance diagram for Main:

Public Member Functions

 Main (int argc, char *argv[])
 
void finalize ()
 Called by main() after run() returns. More...
 
int run ()
 Replaces main(). More...
 

Static Public Attributes

static QString argDataDir
 
static bool bInstallUpdatesAndRestart = false
 If true then program will install updates and restart instead of quitting if quit is requested. More...
 

Detailed Description

This class holds some global information.

Definition at line 37 of file main.h.

Member Function Documentation

void Main::finalize ( )

Called by main() after run() returns.

finalize() cleans up after Main object.

int Main::run ( )

Replaces main().

Definition at line 141 of file main.cpp.

Member Data Documentation

bool Main::bInstallUpdatesAndRestart = false
static

If true then program will install updates and restart instead of quitting if quit is requested.

This flag is ignored if the program configuration states that there are no updates to install.

Default: false.

Definition at line 51 of file main.h.


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