summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Remove \ingroup all-examples command from the docsHEADdevJaishree Vyas2023-07-122-2/+0
| | | | | | Fixes: QTBUG-115044 Change-Id: I83314f3b7955e1ef9c857bcc96c07f6f90b2f875 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* 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>
* Migrate the service framework to QRegularExpressionSamuel Gaist2019-01-032-12/+15
| | | | | | | | | This patch updates the service framework code to use QRegularExpression in place of QRegExp which is to be considered deprecated. Task-number: QTBUG-72593 Change-Id: Ic1f464d7af1bc075ff004c0c4cb8425a83efa649 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Migrate the QDeviceInfo class to QRegularExpressionSamuel Gaist2019-01-032-16/+25
| | | | | | | | | This patch updates the QDeviceInfo code to use QRegularExpression in place of QRegExp which is to be considered deprecated. Task-number: QTBUG-72593 Change-Id: I5abdeb2c0ccd343e93ad529d6e68a463a6e44fcd Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix license headersJani Heikkinen2018-01-22216-3427/+5007
| | | | | | | | | | | 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>
* Update outdated license headers with correct onesJani Heikkinen2017-11-2243-115/+405
| | | | | | | | BSD-OLD and FDL-OLD were still used in some files. Fix those to use new ones to be able to pass license tests in CI Change-Id: I15665d24c0eaec574c3836ce6fdcaea1ea593434 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Fix namespaced simulator buildOliver Wolff2017-11-082-2/+6
| | | | | Change-Id: I2b33840e19d2903853ca20f6e738b5ab497bec16 Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
* Fix simulator build for WindowsOliver Wolff2017-11-081-5/+7
| | | | | Change-Id: Ic564afebdaa9cb7b5fb16766e89b7e90e8d047ce Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
* Move inputinfomanager into generic systeminfo sourcesOliver Wolff2017-09-184-8/+11
| | | | | | | | | | | The class does not have any OS specific code and should be seen as the OS independent base implementation of QInputInfoManagerPrivate. Change-Id: Icbfe9a1bc611dfeeeb86bc03db4c7b4d21d3183b Reviewed-by: Rainer Keller <Rainer.Keller@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* simulator: Export needed symbolsRainer Keller2017-07-192-4/+8
| | | | | | | | | In order to use these functions from the Emulator they have to be exported. Change-Id: I1c09c6328d4f1955d4cbcae91e1e30dcf3b4b963 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Disable serviceframework for Boot to QtRainer Keller2017-07-194-7/+7
| | | | | | | Tests fail and framework is not needed on this platform. Change-Id: Ib16de91d0fa32a82bde9a613c4750a4845d29f42 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* simulator: Add missing glue code for health and temperatureRainer Keller2017-07-144-2/+22
| | | | | Change-Id: I5c7e09ae88a3b0c8092aa27a76cdbad546219d40 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* simulator: Use refactored QtSimulator APIRainer Keller2017-07-142-37/+16
| | | | | Change-Id: Icb0a5543d4081554cb689299219b48867746b40e Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* simulator: Remove DeviceInfo and NetworkInfo supportRainer Keller2017-07-1413-1948/+15
| | | | | | | These will not be supported anymore and removed from simulator backend. Change-Id: Ib3ae3130c234598145821a5c8c5b6fb49be1d8df Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Compile fix for simulatorRainer Keller2017-07-142-5/+12
| | | | | Change-Id: I4fa59e93808f51f5149556cf584fc29ac9636f96 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Remove unneeded ifdefRainer Keller2017-07-141-2/+0
| | | | | | | This class has no simulator backend and does not need an ifdef. Change-Id: I581280e1c9bc796e70612c46340d7e2b9a6f2fe8 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* simulator: Fix binary protocol bugRainer Keller2017-07-141-1/+1
| | | | | Change-Id: Ia4fbb785b1e4c21af056ccb3a55c80e99950b919 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* simulator: Fix compile warningRainer Keller2017-07-141-1/+1
| | | | | Change-Id: I205089b8a18a16f3da14f39380024fdc55768377 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Remove strict compile configRainer Keller2017-05-101-2/+3
| | | | | | Change-Id: Ic6ac1419824a6cc47a1fd4331a2f5b468a61c68e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Remove strictStrings check from compile flagsRainer Keller2017-05-081-0/+1
| | | | | | | Remove strictStrings check also from release build with debuginfo to fix windows build. Change-Id: I78f47cfa9fcb8dd36c276bcbc1cb44bad4854e3f Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* 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>
* Don't crash if udev_monitor_new_from_netlink failsAlbert Astals Cid2017-02-102-30/+38
| | | | | Change-Id: Ia5d17b3c2e2d6d12345678075a4e6085aace7b2a Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* msvc: Fix build with less permissive compiler optionsMaurice Kalinowski2016-11-162-4/+11
| | | | | | | | | | | | | Later versions added the /permissive- option, which checks for more strict language conformance. Hence, do required cleanups to compile systeminfo successfully. According to MSDN you are supposed to use SysAlloc/FreeString instead of manually constructed wchar_t*, otherwise native calls might fail. Task-number: QTBUG-56880 Change-Id: Ia5d17b3c2e2d6d86adb167075a4e6085aace7b2a Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* mingw: fix buildMaurice Kalinowski2016-11-161-1/+3
| | | | | Change-Id: I0fbd0d237e83d0a5522a42d5045a893114288c2c Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix crash on mir based systemsLorn Potter2016-09-075-26/+61
| | | | | | | | | resolves the startup seg fault in non-gui applications.. and the lack of noitifications on startup.. Change-Id: I2be4c8cba3b1b669322fb3f7ba9216a0894f286c Reviewed-by: Timo Jyrinki <timo.jyrinki@canonical.com> Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* Add QInputDeviceInfoLorn Potter2016-08-1839-16/+2518
| | | | | Change-Id: Ia2743851a7843cb2f44a82cffd80ddd176b2c564 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* fix example installOswald Buddenhagen2016-05-251-2/+2
| | | | | Change-Id: I7cf8682f0d8129ed83c8b61254d076b541189ce2 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* QServiceManager: don't deref nullptrMarc Mutz2016-03-031-1/+1
| | | | | | | | Use T::foo instead of static_cast<T*>(nullptr)->foo to access the staticMetaObject of a T. Change-Id: Ieef90dc2d21e938b3661f66703c8c9c2142b07d6 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Make more ctors explicitMarc Mutz2016-03-038-11/+11
| | | | | | | | | Added explicit where it was missing. This is not a source- incompatible change, because code that breaks by this is a bug. Let's not have this sitting around in an LTS. Change-Id: Ib360290b0d01d9690703945f4fbf7efe946c5a59 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Make public headers compile with -Wzero-as-null-pointer-constantMarc Mutz2016-03-039-22/+22
| | | | | | | | | | | | | ... or equivalent. QtBase 5.6 headers already compile that way, so let the other modules follow suit. Required to change one misuse of reinterpret_cast into static_cast. Task-number: QTBUG-45291 Change-Id: I8212182c7cd87302aeb16b0cca7e6b0e3ef6c0c6 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Disable build for winceAndreas Holzammer2016-02-051-1/+1
| | | | | Change-Id: I697d3abc1524add2f5a0b0748f9d8959729b6a4d Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* Fix warning about missing QT_X_NAMESPACEChristian Strømme2016-01-071-0/+4
| | | | | | | Required to silence syncqt. Change-Id: I8e7fad9a0d616c2649ae8a940fd8797af0d3df66 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* Fix warnings from use of the deprecated c string to QString conversion.Christian Strømme2016-01-071-3/+6
| | | | | Change-Id: I5bea2701cf964648ba7a65b881c8f01ad499aeb6 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* Fix name mismatch.Christian Strømme2016-01-071-1/+1
| | | | | | | This was not caught by the CI as the code is not built in the CI yet. Change-Id: I80609731276aba17898abc552d61cbce87aad088 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
* Add support for disabling/enabling the screen saver on Mir/Ubuntu.Christian Strømme2016-01-074-6/+160
| | | | | | | | | | | | This adds the implementation to disable the "screen saver" on Ubuntu devices that are using Mir. Note that this is a request only, and it's not possible to enable the screen saver/lock if it's already turned off by the user. Change-Id: I7ddb459688b5b8cc0f0606c469a95491e8288fdc Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com> Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Add classname entries to qmldirRainer Keller2015-12-183-0/+3
| | | | | Change-Id: Icf0fff40322fb01c335e2413a19c91cb5adc7ea9 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Fix build on Windows.David Schulz2015-12-171-21/+21
| | | | | | | | "interface" is a reserved identifier in msvc. Change-Id: I83d180922bbd08057d8b138b23d7c27e0365b297 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Fix MinGW build.David Schulz2015-12-171-3/+1
| | | | | | Change-Id: I83d180922bbd08057d8b138b23d7c27e0365b292 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Use the new way of disabling strict C++ supportThiago Macieira2015-09-211-9/+1
| | | | | | | | 4684c1afe5fdb3774d56d85a52b2feaab1b8de2c in qtbase added the feature to default_post.prf Change-Id: I42e7ef1a481840699a8dffff14051be6b6334b6a Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* version the LICENSE.*GPL filesOswald Buddenhagen2015-09-182-0/+0
| | | | Change-Id: I111193376a438d0763328800651c674224aa35e9
* Prospective build fix for Visual Studio 2013Simon Hausmann2015-07-302-0/+10
| | | | | | | | | | VS2013 rightfully complains that when calling the assignment operator, the compiler generated one needs visibility to the private class. Since we don't have that, we must explicitly define the assignment operator. This is binary compatible and common practice. Change-Id: Id2558908d0b2841f8dfb6da15cb2614470c4f215 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Fix publishsubscribe module includesSamuel Gaist2015-07-304-4/+5
| | | | | Change-Id: Ie1a68c40235d8f2fa450831ffe406f19165b108c Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Fix qtsystem.pro to avoid build on unsupported platformsSamuel Gaist2015-07-301-11/+11
| | | | | Change-Id: I8cf0b5f08b9bd3ec91270d76015a0196879daa1d Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Re-order the uniqueDeviceId lookup orderLorn Potter2015-04-021-18/+21
| | | | | | | | | | * /etc/unique-id * mac addresses * /etc/machine-id * /var/lib/dbus/machine-id Change-Id: I4e0ee57f4b4f1557c27cba65fc46bf65f3973a9f Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Change Qt bugtracker URL to qt.ioAlex Blasche2015-03-264-5/+5
| | | | | | Change-Id: Ia1913f871ffeaeb3f87ce1b42b3706a420c5adbd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Update all license headersAlex Blasche2015-03-26233-4324/+2786
| | | | | | | Some files had wrong licenses too. Change-Id: I7f940d4a136d102cb2c7755702308938530158c4 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Add missing QDataStream includeAlex Blasche2015-03-261-0/+1
| | | | | | | | This was triggered by header change in qtbase Change-Id: Ic4764b6ddae129dd5964e8acc9e2d3733dceda69 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.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-0410-957/+230
| | | | | | | | | | | 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>
* Use QUuid directly on the binary UUID representationThiago Macieira2014-11-191-5/+3
| | | | | | | | | There's no need to convert to string representation, insert the dashes, parse again into binary form and check if worked if we already have the binary form. Just use it. Change-Id: I30a5476a120433c188b9db11cf2a379592b7ec1e Reviewed-by: Lorn Potter <lorn.potter@gmail.com>