HyperspaceExplorer 0.7.1
|
Static Public Member Functions | |
static unsigned long | check_proc_meminfo () |
Public Attributes | |
QMainWindow * | mainWindow |
QAction * | quitAction |
QStringList | rcdirs |
Static Public Attributes | |
static bool | check_memory = false |
static Color | fog_color |
static Color | White |
static Color | Grey50 |
static unsigned long | MaximumMemory = Global::Impl::check_proc_meminfo() |
unsigned long Global::Impl::check_proc_meminfo | ( | ) | [static] |
get the system memory from /proc/meminfo of course, this only works on OS's with /proc filesystem and /proc/meminfo information! relies on /proc/meminfo of being of the format: MemTotal: 506912 kB ... returns 512 MB as default memory size, when /proc/meminfo is not present
bool Global::Impl::check_memory = false [static] |
whether to check for memory usage. this member is set or unset from check_proc_meminfo(), depending on the success of that function.
Referenced by Global::checkMemory().
Color Global::Impl::fog_color [static] |
global (YUCK!) fog/depth cue color
Referenced by Global::FogColor(), and Global::setFogColor().
Color Global::Impl::Grey50 [static] |
color definition for Grey
Referenced by Global::grey50().
QMainWindow* Global::Impl::mainWindow |
main window of the application
Referenced by Global::getMainWindow().
unsigned long Global::Impl::MaximumMemory = Global::Impl::check_proc_meminfo() [static] |
maximum amount of memory available for use
maximum memory that should be consumed; calls check_proc_meminfo () above
Referenced by Global::getMaxMemory().
QAction* Global::Impl::quitAction |
global QAction that quits the program
Referenced by Global::getQuitAction().
Color Global::Impl::White [static] |
color definition for White
Referenced by Global::white().