fix filename case

Make it possible to cross compile on case sensitive system.

Change-Id: Ie6f255eeb4d71b40926d1d27aad52af4246f5602
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
add missing EXPORT decl

Change-Id: I5b725fe7f0abfc85c3df7b06c96ec3a5fb54b934
Sanity-Review: Qt Sanity Bot <qt_sanitybot@qt-project.org>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Disable strict strings under MSVC for QtSysteminfo

The Windows headers currently violate the standard. Worse, it's in
virtual functions...

Change-Id: I5e0ab21a6f6eb407ffa2c6eee117bcde3e0a18fa
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Add support for retrieving device info from SSU.

SSU is a tool for device management, used in the Mer Project (and by extension,
on Sailfish OS).

Done-with: Thomas Perl <thomas.perl@jolla.com>
Change-Id: I15a12f6adb93173b8b47d84230b18c4c41c1d522
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
QUPowerInterface: dead code removal.

changed() signal was only connected to a completely empty handler.
onBattery and getProperty are also unused, only called by the commented-out
bits removed here.

getProperty also had a fun memory leak/efficiency issue (always creating a new
QDBusInterface, which always involves blocking calls on creation,
and never freeing it)

Change-Id: I597f52d152afb2d605698cab48d3b8a916ddf33e
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
QUPowerInterface: Do away with use of QDBusInterface.

This requires a blocking DBus call to set up, so even though it's a little more
verbose to do it by hand, it's worth it.

Change-Id: Iccf264658a870b554e73bc817b4e9372a3adae83
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
QUPowerDeviceInterface: Make every property request except the first one asynchronous.

Fetching UPower properties can take a long time (I've seen >20ms on a device
that isn't even under load), so minimizing the amount of time we wait on the
main thread for the reply makes sense.

We keep the properties we had before around, and only emit changed signals when
the properties actually change.

Change-Id: Ia3a111d16bf0149a9aa153bf08f37409663ff7be
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
QUPowerDeviceInterface: Remove getProperty helper

Just call QMap::value directly.

Change-Id: Ic108b0585892986448ea7707b6cf7f54502e7e02
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>