60 #if defined(Q_OS_WIN32) || defined(Q_OS_WIN64) 61 # define KLF_PATH_SEP ';' 62 # define KLF_DIR_SEP '\\' 64 # define KLF_PATH_SEP ':' 65 # define KLF_DIR_SEP '/' 70 #endif // KLFSYSINFO_H
systems on which neither Q_OS_{LINUX|WIN32|DARWIN} is defined
KLF_EXPORT QString makeSysArch(const QString &os, const QString &arch)
Os
List of known operating systems.
Base declarations for klatexformula and some utilities.
systems on which Q_OS_DARWIN is defined
KLF_EXPORT QString arch()
The architecture of this sytem.
KLF_EXPORT bool isLaptop()
KLF_EXPORT BatteryInfo batteryInfo()
KLF_EXPORT bool isOnBatteryPower()
Utilities to get system information.
KLF_EXPORT KLFSysInfo::Os os()
Which operating system this system is running.
int sizeofVoidStar()
the processor register size.
KLF_EXPORT bool isCompatibleSysArch(const QString &sysarch)
systems on which Q_OS_WIN32 is defined
systems on which Q_OS_LINUX is defined
KLF_EXPORT QString osString(KLFSysInfo::Os sysos=os())
The operating system we are running, returned as a string.