From 15d5f783c972b8a9fff72a1f5ea4fc956554e3f6 Mon Sep 17 00:00:00 2001 From: Travis Allen Date: Wed, 20 Nov 2013 13:37:01 -0500 Subject: 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 Reviewed-by: Alex Blasche --- src/imports/systeminfo/qsysteminfo.cpp | 2 -- src/imports/systeminfo/systeminfo.pro | 2 -- 2 files changed, 4 deletions(-) (limited to 'src/imports') diff --git a/src/imports/systeminfo/qsysteminfo.cpp b/src/imports/systeminfo/qsysteminfo.cpp index 1e70ece3..c3fb9bbd 100644 --- a/src/imports/systeminfo/qsysteminfo.cpp +++ b/src/imports/systeminfo/qsysteminfo.cpp @@ -42,7 +42,6 @@ #include #include -#include "qdeclarativebatteryinfo_p.h" #include "qdeclarativedeviceinfo_p.h" #include "qdeclarativenetworkinfo_p.h" #include @@ -62,7 +61,6 @@ public: int major = 5; int minor = 0; - qmlRegisterType(uri, major, minor, "BatteryInfo"); qmlRegisterType(uri, major, minor, "DeviceInfo"); qmlRegisterType(uri, major, minor, "NetworkInfo"); qmlRegisterType(uri, major, minor, "ScreenSaver"); diff --git a/src/imports/systeminfo/systeminfo.pro b/src/imports/systeminfo/systeminfo.pro index 4de880d5..a3ce2ae3 100644 --- a/src/imports/systeminfo/systeminfo.pro +++ b/src/imports/systeminfo/systeminfo.pro @@ -2,13 +2,11 @@ QT += qml systeminfo QT -= gui HEADERS += \ - qdeclarativebatteryinfo_p.h \ qdeclarativedeviceinfo_p.h \ qdeclarativenetworkinfo_p.h \ qdeclarativestorageinfo_p.h SOURCES += \ - qdeclarativebatteryinfo.cpp \ qdeclarativedeviceinfo.cpp \ qdeclarativenetworkinfo.cpp \ qdeclarativestorageinfo.cpp \ -- cgit v1.2.3