| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
This has been made redundant by the inclusion of QStorageInfo into
QtCore
Change-Id: Icfea210a450302e49ae61997120325ba00313974
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
| |
Change-Id: I2e695f872d8d43978eba0030d72ee635c36f2103
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-41283
Change-Id: I295ba589daede28dc6a75a47ca88533090bca84a
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
| |
Change-Id: I5e671429dcfd2968ccf5153601b0e8855cf0482b
Done-by: Mohammed Sameer <mohammed.hassan@jolla.com>
Reviewed-by: Mohammed Sameer <msameer@foolab.org>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
| |
Change-Id: Ie9ba1ca09620b55d99b65ac7dd9bf0fa9e29da56
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
| |
Change-Id: I0a22820d2f5ee554d2929ba7332c8a4e143121ce
Discussed-in: http://lists.qt-project.org/pipermail/development/2014-August/017938.html
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
| |
Change-Id: I462c22b1c85dad6afa4c580af085cc08f822625d
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
Not only is this neater, it fixes a screwup in
1be686159ce23a4fc683b1c17926f923ff957513. QVariant apparently doesn't want to
implicitly convert the QVariantMap via toMap, but instead silently returns an
empty map.
Change-Id: I0a71bf54a0d69a7f2da6a26fa77c53f7d3d9a588
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
|
|
|
|
|
|
|
| |
Just call QMap::value directly.
Change-Id: Ic108b0585892986448ea7707b6cf7f54502e7e02
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
The Windows headers currently violate the standard. Worse, it's in
virtual functions...
Change-Id: I5e0ab21a6f6eb407ffa2c6eee117bcde3e0a18fa
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Make it possible to cross compile on case sensitive system.
Change-Id: Ie6f255eeb4d71b40926d1d27aad52af4246f5602
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
|
|
|
|
|
|
| |
Change-Id: I5b945948a17dbb830cdd451758c584d69eed7d24
Reviewed-by: Jakub Adam <jakub.adam@ktknet.cz>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
|
|
|
|
|
|
| |
Change-Id: Iac5112c6a781620f71de33e0dbc07041e91c0312
Reviewed-by: Jakub Adam <jakub.adam@ktknet.cz>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
|
|
|
|
|
|
| |
Change-Id: I0d1bc0e943295cbaa43c2e5470acb24ed92fa63f
Reviewed-by: Jakub Adam <jakub.adam@ktknet.cz>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
|
|
|
|
|
| |
Change-Id: I7101adc0c15d3d7acb92bea41aa77baf8efc0349
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
|
|
|
|
| |
Change-Id: I4a926c140101165a78107ae9d65f974d1b14b868
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
| |
Change-Id: I072ef04026486d2591ef5f5143edb89c4299eb85
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Sailfish OS, where /etc/hw-release exists, QDeviceInfo::version()
used to wrongly return hardware adaptation VERSION_ID from that file as
the first value discovered by QDeviceInfoPrivate::findInRelease().
Thus, we look into /etc/os-release first. If the version isn't found,
the method resorts to the previous behavior.
Change-Id: Ia10c5d7b9cff83ab3006253931ca5a79f2e7c65f
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
|
| |
On Sailfish OS, HW adaptation version is stored in /etc/hw-release.
If the value isn't found, QDeviceInfo::version() returns the kernel
version as before.
Change-Id: If742d2af1f719f45a59f4a937e18590060478651
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
| |
NOTE: these need to be fixed
Change-Id: I0b7a2cf7efe28aa03359b03d8921bbfb9dd4d09c
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
|
|
|
|
|
|
| |
Change-Id: Icde8d7f9731e05193968a9f10f58556728d2a199
Reviewed-by: Travis Allen <tallen@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
| |
Fixed all of the documentation for QBatteryInfo with the new API
Change-Id: Ib00dc03b8c778d54ffed1dccf06e534babf5f202
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
| |
remove trailing spaces & expand tabs
Change-Id: I7606f8c263e3660b307ac865090d11293e892598
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
-Renamed the Health enum values to Health*
-Added temperature
-Added isValid
-Added cycleCount
-Added level
Change-Id: Ib72eebfbb1b5426300de16f5329dff36953eb42f
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
| |
Change-Id: Iaabddc0612c3b52d4e84dca3a94521d70147e45d
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
This gives applications some extra time to respond to this situation, and
prepare for system shutdown, as systems often turn off for safety before
absolute 0 is hit.
Change-Id: Ie6fc40bb80c9b2c07898c6fc1852c78add95b24f
Done-with: Vesa Halttunen <vesa.halttunen@jollamobile.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
| |
It seems the debug stream removes a space at its end.
Change-Id: I2a4677d3fd2a136238034ea1a4ea5ed3dd618a86
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
-Remove EnergyUnit enum
-Change Win32 code to return mAh to conform to all other platforms
-Rename BatteryStatus to LevelState
-Add Health enum and property
-Rename a couple enum values
Change-Id: Ie359036f66f0b1f41d35cd8a574552f2a7b8bf00
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
| |
I missed this refactorization in 15d5f78.
Change-Id: I21ee9514c4b6f5b153ab8d36c8baa1c75c72b1d7
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-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>
|
|
|
|
|
|
|
|
| |
Previously they were reported as UnknownType always, now they get the
appropriate drive type.
Change-Id: I7c2cab0c01b105a7bed57450acad4c64d226feae
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Do not require signal strength information to be available in order
to return network information. On some devices signal strength
is not available.
Task-number: QTBUG-33748
Change-Id: I1a6021483b9a2073595720a063f2de07ecdd98e1
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
| |
Change-Id: I6f1fd110ef53fb772feceb57701ccca1a0860dff
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
|
|
| |
Prior to this fix, method calls would only work if the method's
parameters were either just standard Qt types or just custom types.
Any combination would lead to a failure invoking the method.
Change-Id: I6f140767dfec1692ba7d766284f39916057cd017
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
| |
Change-Id: Ie93f12739bc2a2afbba0bf04bcf4132c4aec7bc1
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
| |
Change-Id: Iab43fc52cf69571a3b51432392a1e99cf40d3c8e
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
| |
Change-Id: I757ad0a7a51515e4526df82eedef7fdf96421fb1
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
| |
Change-Id: I5c8d63c0237c6e14861783b25051c3644e845ca1
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
| |
Change-Id: I438e98a942ee8dc574d11459f88244b20291435e
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
| |
Try to support os-release
Change-Id: I0000f7175f7261aadea8cabb16ce39f5c154a079
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
| |
Change-Id: I1cfdda45c711376444a4a062f9a70da2303ecbdc
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
| |
Change-Id: Ic9cc84f3a14b62330c3fefc54e058142ab39e7df
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
|
|
| |
qremoteserviceregister_dbus_p.h:151:22: error: private field 'connection' is not used [-Werror,-Wunused-private-field]
Change-Id: I445b478857e0807b468e5ba1daa92fa1c8c7d9da
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
|
|
|
|
| |
Change-Id: Id93747bae03a1622e09ad40629a1885159e51e03
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-32666
Task-number: QTBUG-32667
Task-number: QTBUG-32707
Change-Id: I527120cf6c46bfb9f05baf7ece4d1b0399c773e6
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Alex <alexander.blasche@digia.com>
|