#include <Cocoa/Cocoa.h>
#import <IOKit/ps/IOPowerSources.h>
#import <IOKit/ps/IOPSKeys.h>
#include <klfdefs.h>
#include <klfsysinfo.h>
Go to the source code of this file.
Functions | |
KLF_EXPORT QString | klf_defs_sysinfo_arch () |
KLF_EXPORT KLFSysInfo::BatteryInfo | _klf_mac_battery_info () |
KLF_EXPORT bool | _klf_mac_is_laptop () |
KLF_EXPORT bool | _klf_mac_is_on_battery_power () |
This file contains some Mac OS X specific code for klfdefs.cpp
Definition in file klfdefs_mac.mm.
KLF_EXPORT KLFSysInfo::BatteryInfo _klf_mac_battery_info | ( | ) |
Definition at line 65 of file klfdefs_mac.mm.
References KLFSysInfo::BatteryInfo::islaptop, klfDbg, and KLFSysInfo::BatteryInfo::onbatterypower.
Referenced by _klf_mac_is_on_battery_power(), and KLFSysInfo::batteryInfo().
KLF_EXPORT bool _klf_mac_is_laptop | ( | ) |
Definition at line 110 of file klfdefs_mac.mm.
Referenced by KLFSysInfo::isLaptop().
KLF_EXPORT bool _klf_mac_is_on_battery_power | ( | ) |
Definition at line 122 of file klfdefs_mac.mm.
References _klf_mac_battery_info(), and KLFSysInfo::BatteryInfo::onbatterypower.
Referenced by KLFSysInfo::isOnBatteryPower().
KLF_EXPORT QString klf_defs_sysinfo_arch | ( | ) |
Definition at line 38 of file klfdefs_mac.mm.
References QString::fromLatin1().