summaryrefslogtreecommitdiffstats
path: root/src/utils/b2qtdevice.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactored Qml plugins into modules.Teemu Holappa2016-02-171-393/+0
| | | | | | | Separated C++ and Qml interfaces. All the UI's from plugins are moved to the settingsui folder. Change-Id: Id6a6623346b18321357bc42d24121c4d9cdfd098 Reviewed-by: Kimmo Ollila <kimmo.ollila@theqtcompany.com>
* Utils: remove eAndroid specific code pathsEirik Aavitsland2015-07-101-238/+3
| | | | | Change-Id: I0de37f5e8a43f786cf09449bcbe782e317dde41d Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
* Add missing includesSamuli Piippo2015-07-021-0/+2
| | | | | | | Yocto is not using PCH, so there build fails. Change-Id: I610ef66c9add0c7229d544cf5fa34b11f81ec8a5 Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
* B2QtDevice: use rounding instead of truncatingLaszlo Agocs2015-06-181-3/+3
| | | | | Change-Id: Id5723f62b2df32fed1bb65f8e9211ba2d1032664 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Expose a physcal screen size property for the settings appLaszlo Agocs2015-06-181-0/+164
| | | | | | | | | | Load/rewrite /var/lib/b2qt/appcontroller.conf.d/physical_screen_size.conf accordingly. Additionally, /etc/appcontroller.conf is parsed first, but it is never modified. Task-number: QTEE-936 Change-Id: Ieea5f230c02135a0edbd696d031ae1d987ad5cbc Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* Fix qtlauncher settings app setting display brightness to 0Eirik Aavitsland2015-06-161-2/+3
| | | | | | | | | | | Qt Quick, like C++, really doesn't grok the quint8 type - since it's just a char underneath, it now is sometimes interpreted as a string. Fix by just sticking with straight int instead, which arguably is anyway a better (more flexible) api choice. Change-Id: I04e3324d2ecab54860eb6c2ee2e4337ccfd4ecb4 Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
* B2Qt utils: implement backlight setting for eLinuxaavit2015-01-221-5/+63
| | | | | | | | | | | | | This at least works for Sabre and BD-SL, and should be easy enough to extend if other boards have the controlling device in a different path. In case of multiple screens, this version just sets all of them. This is sufficient for demos and the common single-screen case. Next version will add API to address each screen separately. Change-Id: I1bbd5201474bd92d20efba6d55b11339200c141a Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* Merge remote-tracking branch 'origin/stable' into devaavit2014-11-141-2/+3
| | | | Change-Id: Ib0a08de8aaf17f2803d51bded8d0dcfb14e9c206
* Rename DroidUtils -> B2QtUtils and refactor the APIaavit2014-10-081-0/+402
Preparing this module for being documented and presented for external users. - Renamed since this is for eLinux as well as eAndroid - Provide all settings as proper Q_PROPERTYs for easy QML access - Hide all the detailed audio stuff that's not useful for users - Implement a getter function for current backlight, so that we don't have to reset it to full every time this module is loaded - qmake now groks this as internal module, so get rid build kludges - hostname setting on eLinux fixed - getIPAddress() now returns ALL active addresses, and implentation is simplified Task-number: QTEE-704 Change-Id: I9f22d5531b5963ae7e78c840bcfe1edd6197f82a Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>