[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
klfdefs_otheros.cpp
Go to the documentation of this file.
1 #include <klfdefs.h>
2 #include <klfsysinfo.h>
3 
5 {
6  return QString::fromLatin1("Unknown architecture and OS");
7 }
8 
9 
11 {
13 
14  klfWarning("Could not get battery status.") ;
15  info.islaptop = false;
16  info.onbatterypower = false;
17  return info;
18 }
19 
21 {
24  return info.islaptop;
25 }
26 
28 {
31  return info.onbatterypower;
32 }
33 
KLF_EXPORT QString klf_defs_sysinfo_arch()
KLF_EXPORT KLFSysInfo::BatteryInfo _klf_otheros_battery_info()
Base declarations for klatexformula and some utilities.
KLF_EXPORT bool _klf_otheros_is_laptop()
#define KLF_EXPORT
Definition: klfdefs.h:41
#define klfWarning(streamableItems)
KLF_EXPORT bool _klf_otheros_is_on_battery_power()
QString fromLatin1(const char *str, int size)

Generated by doxygen 1.8.13