summaryrefslogtreecommitdiffstats
path: root/src/imports
Commit message (Collapse)AuthorAgeFilesLines
* Migrate publish susbscribe to QRegularExpressionSamuel Gaist2019-01-031-2/+2
| | | | | | | | | This patch updates the publish subscribe code to use QRegularExpression in place of QRegExp which is to be considered deprecated. Task-number: QTBUG-72593 Change-Id: I2459feae6a86447134a6c76cf846c116c8927c28 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix license headersJani Heikkinen2018-01-2221-275/+401
| | | | | | | | | | | old, outdated and removed header.LGPL21 was used in some files. Replace that with correct one (header.LGPL in src, headre.GPL-EXCEPT in tests and header.BSD in examples). Also remove unnesessary license files and add missing ones. Change-Id: Ib021ae191316da379a01e355fe90fe39180f541b Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Disable serviceframework for Boot to QtRainer Keller2017-07-191-2/+2
| | | | | | | Tests fail and framework is not needed on this platform. Change-Id: Ib16de91d0fa32a82bde9a613c4750a4845d29f42 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Compile fix for simulatorRainer Keller2017-07-141-1/+1
| | | | | Change-Id: I4fa59e93808f51f5149556cf584fc29ac9636f96 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Remove uses of QString::nullMarc Mutz2017-03-112-3/+3
| | | | | | | It's going to be deprecated. Change-Id: I5a4f97440f79e5ea82ec579f097c6e7a20680387 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Add QInputDeviceInfoLorn Potter2016-08-186-1/+432
| | | | | Change-Id: Ia2743851a7843cb2f44a82cffd80ddd176b2c564 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* Add classname entries to qmldirRainer Keller2015-12-183-0/+3
| | | | | Change-Id: Icf0fff40322fb01c335e2413a19c91cb5adc7ea9 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Update all license headersAlex Blasche2015-03-2619-400/+248
| | | | | | | Some files had wrong licenses too. Change-Id: I7f940d4a136d102cb2c7755702308938530158c4 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Remove unnecessary \inqmlmodule parameterAlejandro Exojo2014-12-082-2/+2
| | | | | Change-Id: I3d826543268d9ae8dfa4964af0826c1a9b57985c Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Re-add BatteryInfo qmlLorn Potter2014-12-045-838/+58
| | | | | | | | | | | The battery declarative class was never reinstated after the battery class for refactored. Also fix the upower backend to work correctly. Task-number: QTBUG-42958 Change-Id: I4f627426f6c716a5317eb28ed85fd9da793f1940 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* remove QStorageInfoLorn Potter2014-11-061-44/+0
| | | | | | | | This has been made redundant by the inclusion of QStorageInfo into QtCore Change-Id: Icfea210a450302e49ae61997120325ba00313974 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Add missing private headers warningSamuel Gaist2014-08-182-3/+26
| | | | | Change-Id: Ie9ba1ca09620b55d99b65ac7dd9bf0fa9e29da56 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Remove QStorageInfo in favor of the QtCore replacementThiago Macieira2014-08-124-266/+1
| | | | | | Change-Id: I0a22820d2f5ee554d2929ba7332c8a4e143121ce Discussed-in: http://lists.qt-project.org/pipermail/development/2014-August/017938.html Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* stop serviceframework and qsysteminfo building on macLorn Potter2014-03-211-2/+2
| | | | | | | NOTE: these need to be fixed Change-Id: I0b7a2cf7efe28aa03359b03d8921bbfb9dd4d09c Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* whitespace fixesOswald Buddenhagen2014-01-201-1/+1
| | | | | | | remove trailing spaces & expand tabs Change-Id: I7606f8c263e3660b307ac865090d11293e892598 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* First steps towards QBatteryInfo RefactorizationTravis Allen2013-11-252-4/+0
| | | | | | | | | | | | | | -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>
* Remove device profile, as it is depreciated.Lorn Potter2013-06-254-237/+1
| | | | | Change-Id: If1f2511f9f16f1a849b25e7d9ed99f0c9b2062f5 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Remove DisplayInfoLorn Potter2013-06-242-4/+0
| | | | | | Change-Id: I29c4f64bf4a23dbc02daf5540cdbd5cd3d2ac7cb Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com> Reviewed-by: Alex <alexander.blasche@digia.com>
* Update all plugins.qmltypes filesLiang Qi2013-06-113-17/+31
| | | | | | | | Task-number: QTBUG-31388 Change-Id: I737d2520f6821cb43b3438b0a11fc8a7f6b57dbc Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* Update qmldir filesLiang Qi2013-06-113-0/+6
| | | | | | Change-Id: I0498c939781da5e81cc2788f92c41d0488126f6e Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* Remove use of QT_{BEGIN,END}_HEADER macros.Aaron McCarthy2013-02-066-12/+0
| | | | | | | | These macros were removed from Qt Core and they are no longer defined causing qtsystems to fail to build. Change-Id: I0e08e7a53f20a016e403d9022e349b25ba38a7ec Reviewed-by: Andrew Stanley-Jones <asj@cban.com>
* Do not use interface as variable or parameter nameOliver Wolff2013-01-232-6/+6
| | | | | | | | | | | | | | | As "interface" is defined as struct in objbase.h on windows it either should not be used as a variable or parameter name or undefed before. (see CI failure in https://codereview.qt-project.org/#change,45321 ) As parts of QtSystems rely on other windows headers which need interface defined as struct it cannot be 'undef'ed "globally". Thus "interface" is replaced with proper values in files where it occurs. Change-Id: I9f77df966c7243fbc06aea87be075bfbd9b05d4a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Rainer Keller <rainer.keller@digia.com> Reviewed-by: Cristiano di Flora <cristiano.diflora@gmail.com>
* make compile with -no-guiTasuku Suzuki2012-10-123-0/+3
| | | | | | Change-Id: I7bf238f14c648653d991a55bc4f74dcb94bca34a Reviewed-by: Andrew Stanley-Jones <asj@cban.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-2425-600/+600
| | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I7786bc90235877567a7f61fc5c82af8dc3ad28c8 Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Imports: Add plugins.qmltypes filesKai Koehne2012-09-183-0/+723
| | | | | | | The files are used by Qt Creator to get syntax highlighting and code completion. Change-Id: I6924fb448d94a105f83b25a57bebb7124f7326c3 Reviewed-by: Alex <ablasche@gmail.com>
* Doc: Changed \qmlclass to \qmltype and added \instantiatesJerome Pasion2012-07-3011-14/+28
| | | | | | | | | | -\qmlclass is now \qmltype -\instantiates is for QML types implemented in C++ Change-Id: Ide5853242f8cde0f4f2d9b99a7a43c150161e3d4 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Peter Yard <peter.yard@nokia.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* use centralized qml plugin project handlingOswald Buddenhagen2012-07-176-126/+6
| | | | | Change-Id: Icfbc814eea58fd03e07ec6ef03eced164955e072 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Allow build of submodule docs individually using 'make'.Peter Yard2012-07-051-1/+1
| | | | | Change-Id: I0fe4e04056396bfb6ba6fee77db017f2997fb1d6 Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com>
* qFree is deprecated, use ::free instead.Thiago Macieira2012-06-261-2/+2
| | | | | Change-Id: Ic434386e528eca99596843e7f41e37cdf9a6a103 Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Remove left over defines and fix the unix backendAndrew Stanley-Jones2012-06-251-6/+0
| | | | | Change-Id: If491cb14a1829baf84769c8425144e7848604c37 Reviewed-by: Alex <alex.blasche@nokia.com>
* switch to new-style configure testsOswald Buddenhagen2012-06-251-1/+1
| | | | | Change-Id: Iae80d8e22f4f5347b020c20364bfe110c22bc549 Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com>
* Adds new asynchronous friendly types.Alan Alpert2012-06-196-524/+1435
| | | | | | | | The old types will probably be deprecated at some point, but they're still provided so that users have time to switch. Change-Id: I0f3068e77d4252e777a2771950fc665f0d509bb7 Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com>
* Continue support of monitorAllLogicalDrives propertySteffen Hahn2012-06-062-5/+1
| | | | | | | | | | | | | This patch is to revert changes from https://codereview.qt-project.org/#change,18819. There are use cases where developers wants to listen to onLogicalDrivesChanged signal without reading the allLogicalDrives list at all. The idea was to enable monitoring by default when reading allLogicalDrives property. To close this gap the monitor property should be kept so that onLogicalDrivesChanged signal can be conveniently enabled for all use-cases. Change-Id: I67e2048de5bec25305e38172518e9a9de3873018 Reviewed-by: Yang Li <yang.12.li@nokia.com> Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
* replacing signals/slots keyword by the equivalent Q_SIGNALS/Q_SLOTSCorentin Jabot2012-06-051-2/+2
| | | | | Change-Id: I9ad42ab2f40992c68e9d3bf26fd09dfc46527ba5 Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
* Continue support for monitorCurrentNetworkModeSteffen Hahn2012-05-112-3/+1
| | | | | | | | | | | | | Most of the NetworkInfo monitor properties were set to obsoleted in https://codereview.qt-project.org/#change,19125 . It is important for UI applications to have possiblity to control monitoring of currentNetworkMode since its updates are polled. This way polling can be completely disable for power saving or performance reasons. Change-Id: I02e102e135050f4b1a23b6e03fd500eb0d822978 Reviewed-by: Yang Li <yang.12.li@nokia.com> Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
* Don't use QtDeclarative compat moduleKent Hansen2012-05-111-2/+2
| | | | | | | Use QtQml instead. Change-Id: I81e564515c6e7a264f451c7f9e1f17c9e49e1d66 Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com>
* Correction to qml-wrapper documentationSteffen Hahn2012-05-096-92/+92
| | | | | | | Format documentation for enumerations properly Change-Id: If3e5b6a642a84526696ba94c84e20bd4866b5dda Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
* Ensure unique connections in QML wrappersSteffen Hahn2012-04-262-2/+3
| | | | | | | | | | Connect QML-Wrapper's signals that are used to NOTIFY properties on changes uniquely when reading the property the first time. This avoids unnecessary multiple emissions of the same signal. Change-Id: I0776f1fbd4b6605cc1b5ac4688a86d528461e783 Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
* Change DeviceProfile API to be asynchronousSteffen Hahn2012-04-254-44/+238
| | | | | | | | | | | | | | | - Change QDeviceProfile members to return immediately and return UnknownProfile or -1 if not result yet - Add JsonDb Watcher to update data in background - Change Q_INVOKABLEs to Q_PROPERTYs and add needed signals - Add QML Wrapper to allow convenient property binding - Additional clean-ups to QJsonDbWrapper: - Remove obsoleted hasSystemObject() - Some renamings to method names - Restructured onJsonDbWatcherLocksNotificationsAvailable() to emit signals only if required Change-Id: I1c9b511b9435b994fe88b96959d03ee33b3a0f55 Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
* Change function activeLocks() and enabledLocks() to be asynchronousYang Li2012-04-192-5/+12
| | | | | | | Read lock types from JsonDB initially, and update them by JsonDb Watcher Change-Id: I2b9fc1a4a0574ddecc2e9bd194a5b773b3bfa1fb Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
* Add backlightStateChanged SignalYang Li2012-04-192-0/+18
| | | | | Change-Id: Ib91db225215f160604e33ce7fef13fe4fd7c86a9 Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
* Set monitorAllLogicalDrives to obsoletedSteffen Hahn2012-03-272-0/+35
| | | | | Change-Id: I05b3c22d162ab856a4dba29e5f8a10a9c7e37a39 Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
* Adapt to new plugin mechanism.Xizhi Zhu2012-03-196-8/+7
| | | | | Change-Id: I59ca96e896eda8fa86ca9e51a3eae452272d6e89 Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com>
* Remove monitor*Locks properties.Steffen Hahn2012-03-132-63/+6
| | | | | Change-Id: I1980bcda7a330b07d88333ad8833b0e2001946bf Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
* Several monitor* is now obsoleted, and to be removed soon.Xizhi Zhu2012-03-082-11/+26
| | | | | | Change-Id: Ife090989d0c027df9e4ed8c9835b972c5daaaf0f Reviewed-by: Steffen Hahn <steffen.hahn@nokia.com> Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
* Declarative --> Qml adaptation.Xizhi Zhu2012-03-088-36/+34
| | | | | | Change-Id: I09104237f261592bca7869cddf2cdb7af9d2d74b Reviewed-by: Alex <alex.blasche@nokia.com> Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com>
* Remove the monitorAllLogicalDrives property.Xizhi Zhu2012-03-082-34/+1
| | | | | | Change-Id: Idf3aa4fcb43cbd7ace05ba1fdcb0f44eec3c91b4 Reviewed-by: Steffen Hahn <steffen.hahn@nokia.com> Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
* Remove the usage of deprecated qdoc macros.Casper van Donderen2012-03-027-85/+85
| | | | | | | | | | QDoc now has support for Doxygen style commands for italics, bold and list items. This change applies that change in QDoc to the actual documentation. Task-number: QTBUG-24578 Change-Id: I382a5b6da54c76f6b6e5ab2577164a036f2efdd1 Reviewed-by: Alex <alex.blasche@nokia.com>
* Add a work-around for QTBUG-24552.Xizhi Zhu2012-02-282-8/+8
| | | | | | | | | | | In short, for signals with enums as the parameters, the enums can not be recognized if the signals are connected using Connections element. This commit should be reverted once QTBUG-24552 gets fixed. Change-Id: Ibc08cca4c8796817625a8c2fed22988d897817d0 Reviewed-by: Yang Li <yang.12.li@nokia.com> Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
* profileType --> currentProfileType.Xizhi Zhu2012-02-241-1/+1
| | | | | Change-Id: I1d86c9d2adce1d981476429b1eca0db3747c7c7c Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>