Utilities to get system information. More...
Enumerations | |
enum | Os { Linux, Win32, MacOsX, OtherOs } |
List of known operating systems. More... | |
Functions | |
int | sizeofVoidStar () |
the processor register size. More... | |
KLF_EXPORT QString | arch () |
The architecture of this sytem. More... | |
KLF_EXPORT KLFSysInfo::Os | os () |
Which operating system this system is running. More... | |
KLF_EXPORT QString | osString (KLFSysInfo::Os sysos=os()) |
The operating system we are running, returned as a string. More... | |
Utilities to get system information.
enum KLFSysInfo::Os |
KLF_EXPORT QString KLFSysInfo::arch | ( | ) |
The architecture of this sytem.
"x86"
or "x86_64"
, or QString()
for other/unknown. Definition at line 1012 of file klfdefs.cpp.
KLF_EXPORT KLFSysInfo::Os KLFSysInfo::os | ( | ) |
KLF_EXPORT QString KLFSysInfo::osString | ( | KLFSysInfo::Os | sysos = os() | ) |