First steps towards QBatteryInfo Refactorization
authorTravis Allen <tallen@blackberry.com>
Wed, 20 Nov 2013 18:37:01 +0000 (13:37 -0500)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 25 Nov 2013 08:43:34 +0000 (09:43 +0100)
commit15d5f783c972b8a9fff72a1f5ea4fc956554e3f6
treedeb8fb725a96b85069aa8db1d362a9388dc79cf1
parent64e7d7076b61eb3781b9dee73b56b5559025f37c
First steps towards QBatteryInfo Refactorization

-Remove the QML wrapper registration temporarily
-Change the public API to lock it to one index
-Change the Linux private API to lock it to one index
-Change the Mac private API to lock it to one index
-Change the Windows private API to lock it to one index
-Change the tests to use the new API
-Change the Simulator private API to lock it to one index

Change-Id: I5b3d36a3baad339623281d79014c411c59dd1b59
Reviewed-by: Andrew Wooster <awooster@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
17 files changed:
src/imports/systeminfo/qsysteminfo.cpp
src/imports/systeminfo/systeminfo.pro
src/systeminfo/linux/qbatteryinfo_linux.cpp
src/systeminfo/linux/qbatteryinfo_linux_p.h
src/systeminfo/mac/qbatteryinfo_mac.mm
src/systeminfo/mac/qbatteryinfo_mac_p.h
src/systeminfo/qbatteryinfo.cpp
src/systeminfo/qbatteryinfo.h
src/systeminfo/simulator/qsysteminfo_simulator.cpp
src/systeminfo/simulator/qsysteminfo_simulator_p.h
src/systeminfo/simulator/qsysteminfobackend_simulator.cpp
src/systeminfo/simulator/qsysteminfobackend_simulator_p.h
src/systeminfo/simulator/qsysteminfodata_simulator_p.h
src/systeminfo/windows/qbatteryinfo_win.cpp
src/systeminfo/windows/qbatteryinfo_win_p.h
tests/auto/systeminfo/qbatteryinfo/tst_qbatteryinfo.cpp
tests/manual/sysinfo-tester/main.cpp