#include <klfdefs.h>

Go to the source code of this file.
Classes | |
| struct | KLFSysInfo::BatteryInfo |
Namespaces | |
| namespace | KLFSysInfo |
Utilities to get system information. | |
Defines | |
| #define | KLF_PATH_SEP |
| The character used in the $PATH environment variable to separate different locations. | |
| #define | KLF_DIR_SEP '/' |
Enumerations | |
| enum | KLFSysInfo::Os { KLFSysInfo::Linux, KLFSysInfo::Win32, KLFSysInfo::MacOsX, KLFSysInfo::OtherOs } |
| List of known operating systems. More... | |
Functions | |
| int | KLFSysInfo::sizeofVoidStar () |
| the processor register size. | |
| KLF_EXPORT QString | KLFSysInfo::arch () |
| The architecture of this sytem. | |
| KLF_EXPORT QString | KLFSysInfo::makeSysArch (const QString &os, const QString &arch) |
| KLF_EXPORT bool | KLFSysInfo::isCompatibleSysArch (const QString &sysarch) |
| KLF_EXPORT KLFSysInfo::Os | KLFSysInfo::os () |
| Which operating system this system is running. | |
| KLF_EXPORT QString | KLFSysInfo::osString (KLFSysInfo::Os sysos=os()) |
| The operating system we are running, returned as a string. | |
| KLF_EXPORT BatteryInfo | KLFSysInfo::batteryInfo () |
| KLF_EXPORT bool | KLFSysInfo::isLaptop () |
| KLF_EXPORT bool | KLFSysInfo::isOnBatteryPower () |
| #define KLF_DIR_SEP '/' |
Definition at line 65 of file klfsysinfo.h.
| #define KLF_PATH_SEP |
The character used in the $PATH environment variable to separate different locations.
Expands to ':' (colon) on unices/Mac and to ';' (semicolon) on Windows.
Note that the character is given as a char (observe the single-quotes), not in a string.
Definition at line 64 of file klfsysinfo.h.
Referenced by klfJoinEnvironmentPath(), klfSearchPath(), klfSetEnvironmentPath(), and klfSplitEnvironmentPath().