summaryrefslogtreecommitdiffstats
path: root/src/imports
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Append handler names to \qmlsignal documentationSze Howe Koh2014-03-181-0/+2
| | | | | Change-Id: I4754a36bd6977cc2bc83a3fee58fb5ce6d2c2c84 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fix some typos in comments and documentationSergio Ahumada2014-03-041-2/+2
| | | | | Change-Id: I8541601c0bfe2b7c80e88b4617e8215b266fb0bd Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Update QML plug-in interfaces for Qt 5.3 releaseAlex Blasche2014-02-262-79/+201
| | | | | Change-Id: If01a988c151ec696c8d02ca7c470d7e97a593b40 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* static linking: add classname to qmldirRichard Moe Gustavsen2013-10-231-0/+1
| | | | | | | | | The new qmlimportscanner for static linking depends on the qmldir reporting the classname of the plugins. So add that to sensors as well. Change-Id: I80fd0a1d705ef589268231e6399f612a74b70828 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Doc: Removed QML version from \inqmlmodule and put it in \qmlmodulev5.2.0-beta1Jerome Pasion2013-09-2719-36/+36
| | | | | | | | | | | | | -QDoc uses \qmlmodule to determine version -QDoc ignores versions in \inqmlmodule but it is better to remove the version to avoid confusion Task-number: QTBUG-32172 Change-Id: Iccab6b3fe201e8f01ddf130cd985bc0482425bf5 Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
* Merge remote-tracking branch 'origin/stable' into devv5.2.0-alpha1Sergio Ahumada2013-09-201-1/+1
|\ | | | | | | Change-Id: I24286cf6c037f10fbbfb6c7e3c7145ebb38c01ed
| * [Doc] Fix the SensorGlobal usage exampleold/5.1Gatis Paeglis2013-09-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If qml type is registered with qmlRegisterSingletonType(), for example: qmlRegisterSingletonType <QmlSensorGlobal>(package, major, minor, "QmlSensors", global_object_50); where: package = "QtSensors" major = 5 minor = 0 Then it can be accessed like this: import QtSensors 5.0 as Sensors var types = Sensors.QmlSensors.sensorTypes(); Task-number: QTBUG-33558 Change-Id: I228fb51e8a2887c59ac8edba1a944a9b2c6ec05f Reviewed-by: Topi Reiniö <topi.reinio@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* | Merge branch 'stable' into devSergio Ahumada2013-08-051-1/+3
|\| | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ifed287670b09398ef659b9420c3e513a699a0944
| * Undefine near if it is already defined to prevent a build issueAndy Shaw2013-07-231-1/+3
| | | | | | | | | | | | | | | | | | | | In some Windows Embedded 7 SDKs near is still defined, so we need to undefine it in those cases. Task-number: QTBUG-32571 Change-Id: I0d48b9dafa2af31f88f48746bfcf4df9fe824554 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* | Merge branch 'stable' into devSergio Ahumada2013-06-072-40/+135
|\| | | | | | | | | | | | | | | Conflicts: .qmake.conf sync.profile Change-Id: I0eaa022110b99fc5bc7cdf6304b5cda3ad3e8f8c
| * Update all plugins.qmltypes filesLiang Qi2013-05-271-39/+134
| | | | | | | | | | | | | | Task-number: QTBUG-31388 Change-Id: I7a1a0b692d49961d07ae174cb5c2a614295ec98b Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
| * Fix MSVC-warning about comparing bool and qreal.Friedemann Kleint2013-05-231-1/+1
| | | | | | | | | | Change-Id: I10ea0eb3f5bacebe0d72cdce4fac529957c64f2e Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-04-162-8/+8
|\| | | | | | | Change-Id: Ia02497aafc94feba0381ffe8733cbc89f29fb412
| * Add missing Q_REVISION(1) to new 5.1 signalsThomas McGuire2013-04-112-8/+8
| | | | | | | | | | | | Change-Id: Ic98e6b4d9f4ac5c676d2183799a5a838c5085a70 Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* | Added temperature property to pressure sensorBernd Weimer2013-04-093-0/+67
|/ | | | | | | | | | | Many air pressure sensors provide their temperature, as well. This can be used for temperature compensation for instance. The pressure sensor API has been extended and a BlackBerry backend has been implemented. Change-Id: I188e1276dff74601d757d0a356b28b4fea4594bd Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Use real properties for QSensor::bufferSize & coThomas McGuire2013-02-083-0/+75
| | | | | | | | | | | | | | | The #ifdef Q_DOC hack is not really needed and was confusing. In addition, expose those properties to the QML API. As a result, the backends can now listen to the bufferSizeChanged() signal to update the buffering while the sensor is running. This has been implemented for the BlackBerry platform. Change-Id: I5239ba2a4b791cfc9f684b44ff2bc103a7b5b0da Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Add a QAmbientTemperatureSensor class.Thomas McGuire2013-02-085-0/+236
| | | | | | | Port the Blackberry backend to use it. Change-Id: I6d4395f5ab9e0ce3fb6f76c47282929103929557 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Convert QMagnetometer::returnGeoValues to a proper propertyThomas McGuire2013-02-084-3/+14
| | | | | Change-Id: I39cde0046e8a3fc77edbcf5c9510e2dcf6c731c7 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Convert QRotationSensor::hasZ to a proper propertyThomas McGuire2013-02-083-2/+9
| | | | | Change-Id: I32edf761653fbe9d08710703b02fb1c0183aba3e Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Convert QTapSensor::returnDoubleTapEvents to a proper propertyThomas McGuire2013-02-083-6/+9
| | | | | Change-Id: I62f626a8df765a50815f3b275da8b858cb24a30d Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Convert QLightSensor::fieldOfView to a proper propertyThomas McGuire2013-02-083-10/+8
| | | | | Change-Id: Ic6e5388e0cbc2a0045157873c05aa241ffe5e82d Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Add a QAltimeter class.Thomas McGuire2013-02-085-0/+236
| | | | | | | Port the Blackberry backend to use it. Change-Id: I3d3bc1d6fa8b42d3d0d64bcd3245050b67a37dc7 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Add missing AxesOrientationMode to the QML plugin descriptionThomas McGuire2013-01-311-0/+8
| | | | | Change-Id: I2eef34cd39243deff640e24d1debae9dab1e5310 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Remove QT_{BEGIN,END}_HEADER macro usageSergio Ahumada2013-01-2817-34/+0
| | | | | | | | | The macro was made empty in qtbase/ba3dc5f3b56d1fab6fe37fe7ae08096d7dc68bcb and is no longer necessary or used. Discussed-on: http://lists.qt-project.org/pipermail/development/2013-January/009284.html Change-Id: If3f1040766e1c7de05bb8e90cd8a8a2a349bd096 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Add QHolsterSensorThomas McGuire2013-01-235-0/+237
| | | | | | | | | | This adds a new QHolsterSensor plus the assorted reading and filter classes, as well as a QML API. Also implement the Blackberry backend for it. Change-Id: I42e76c21ee74a39a65629e7ab6d9a18f23eae4d4 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Add a axes remapping featureThomas McGuire2013-01-233-0/+91
| | | | | | | | | | | This allows orientable sensors like accelerometer or compass to change to adapt the reading values based on the current screen orientation. Add support for the BlackBerry backend. Change-Id: If7cfde8f20da4f677fdd13c38f7e11f2ed96bedd Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Add API for duplicate skippingThomas McGuire2013-01-234-1/+32
| | | | | | | | | | | Duplicate skipping enables omitting reading values that are very similar to the previous one, thus saving processing power. Implement this for the Blackberry backend. Change-Id: Ic608d8ca795b5a2e0bca5a75a62e8005c283c620 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Add QPressureSensorThomas McGuire2013-01-235-0/+237
| | | | | | | | | | This adds a new QPressureSensor plus the assorted reading and filter classes, as well as a QML API. The Blackberry backend is ported to use the new reading class. Change-Id: Ifc86a2ae955a9337a67fd9a86ceabab908917cb3 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* QAccelerometer: Add AccelerationMode propertyThomas McGuire2013-01-235-32/+117
| | | | | | | | | | | Add a new property to be able to toggle effects of gravity on or off. Implement the Blackberry backend side of this as well. QTBUG-25842 Change-Id: I15c4cae72373f48b0153b83c6aa3d27b66538c87 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com> Reviewed-by: Sérgio Martins <sergio.martins.qnx@kdab.com>
* Remove the QtSensors:: prefix from documentation.Thomas McGuire2012-11-0315-80/+80
| | | | | | | | This appears to be implicit. Now the property documentation is built correctly. Change-Id: I3998582fdeabf751a612c379df69f5eb41b9419d Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Update QML metadata fileThomas McGuire2012-11-021-103/+12
| | | | | Change-Id: I6d9231e49d9acdfbc64c391f0c80312508943c80 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Removal last references to QtMobilityThomas McGuire2012-11-023-3/+3
| | | | | | | Change-Id: Ia92de27ec25451b64a2e584507ca44485b94745a Reviewed-by: Kevin Ottens <kevin.ottens.qnx@kdab.com> Reviewed-by: Bernd Weimer <bweimer@rim.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* adjust to qt_plugin.prf and qml_plugin.prf changesOswald Buddenhagen2012-11-021-11/+0
| | | | | | | | | | | DESTDIR and INSTALLS+=target are set up automatically now, but PLUGIN_TYPE needs to be defined. this contains a nasty hack for examples, as we don't want users to use the internal prf files. Change-Id: I9e854e7ff6183e19801998ff7157a279b97b2be4 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Rename QtMobility.sensors 1.3 to QtSensors 5.0Lincoln Ramsay2012-10-1118-191/+144
| | | | | Change-Id: I2b24533d38db1f8e205de19b67fe0b21625bbf6b Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Remove the QtSensors 5.0 importLincoln Ramsay2012-10-0918-1894/+31
| | | | | | | | | | | The gesture tests that were part of the sensors2 unit test have been retained. The tilt sensor tests were not, though they could be used as a base to make a unit test for the new tilt sensor class. Change any existing imports to use QtMobility.sensors 1.3. Change-Id: I8a7130b3c73980fdd577e96c10aecda15e79f8b2 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Add SensorGesture QtMobility.sensors 1.3Lincoln Ramsay2012-10-087-72/+445
| | | | | | | This has been imported from QtSensors 5.0 without changes. Change-Id: Ie6a919f9b806bf19287a693fb7cdb563f8697e13 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Add TiltSensor to QtMobility.sensors 1.3Lincoln Ramsay2012-10-039-93/+321
| | | | | | | | | | | This has been adapted from the TiltSensor type in QtSensors 5.0 import but the code there has been split into multiple pieces. There's a C++ class, a generic backend and a QML interface. Change-Id: Ic09465a5f76250a02a13938abe4789958137376f Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* QtMobility.sensors has a new implementationLincoln Ramsay2012-09-2636-848/+4160
| | | | | | | | | This implementation fixes the limitations the original code had and separates the QtSensors C++ API from the QML API so that changes to one don't need to affect the other. Change-Id: I519463f3c7cfbad3bce5c291ce166b8793d5ed4a Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-2412-288/+288
| | | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I85014238e262cb59d8d92b0d708851e82e5633da Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Update qmldir, plugins.qmltypes filesLincoln Ramsay2012-08-246-29/+57
| | | | | | | | | | | We need a module <Foo> now in qmldir files (related to QTBUG-26551). Also update the rebuild_qmltypes rule so it creates the files with the correct name. Change-Id: I0eed30ac88a38f2b3ca83d008f09412544f99343 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Doc: Changed \qmlclass to \qmltype and added \instantiatesJerome Pasion2012-07-306-29/+58
| | | | | | | | | | -\qmlclass is now \qmltype -\instantiates is for QML types implemented in C++ Change-Id: I7f1af4eae6ad9d199859911b5ab51696a59a9b36 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Peter Yard <peter.yard@nokia.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* Add QSensor::isFeatureSupported()Thomas McGuire2012-07-231-0/+14
| | | | | | | | | | | | Now it is possible to check if a backend supports a specific feature. During reviews of features like acceleration mode or duplicate skipping, the issue was raised how to check if these features are actually supported. The same is true for existing features like QMagnetometer::returnGeoValues. Change-Id: I47115d6c487bbcbb668a9021cdc7085e6780a67c Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* use centralized qml plugin project handlingOswald Buddenhagen2012-07-118-91/+8
| | | | | | Change-Id: I6afbc938a3db79f3a27b2b83d72e111e5d03ea9c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Use \sa links to link to the C++ documentationThomas McGuire2012-07-021-98/+111
| | | | | | | | This fixes the incorrect grammar in some of the sentences. Change-Id: I013b0ce8afb5d067b97e6980c76103e40e4aa6ed Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Jeremy Katz <jeremy.katz@nokia.com>
* Fix compilation.Friedemann Kleint2012-06-261-38/+0
| | | | | | | | qmlRegisterUncreatableType actually exists in declarative. Change-Id: Ia75855389fac95537eb6e3d8573db4ff55fad63c Reviewed-by: Lorn Potter <lorn.potter@nokia.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Cleanup last Symbian remnants in QtSensorsalex2012-06-224-40/+0
| | | | | Change-Id: I35eb858cad41167ac6bbbf17e48571965f34f8ca Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Missing minor numbers in versionsLincoln Ramsay2012-06-196-31/+29
| | | | | | Fixes: QTBUG-25926 Change-Id: I3a2942b13a9d335a9c564b23cb4a79241d6895af Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Remove duplicate (incorrect) \sa link.Lincoln Ramsay2012-06-191-1/+1
| | | | | | | | The correct link is already present so remove the broken one. Change-Id: Ieb41733f40ff9f79a6a14ad0820d9c8b026f967e Fixes: QTBUG-25927 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Docs: change QML elements to QML types in docs.Peter Yard2012-06-196-101/+101
| | | | | Change-Id: I54a9a1972978f1d989d262f137b5890d1feb35e0 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Don't initialize sensors from registerTypes().Lincoln Ramsay2012-06-132-6/+0
| | | | | | | | This function gets called on a different thread... we don't really want that so just don't do that. Change-Id: I58dc0c0bc8d54221a0b6fd306552b67e2abf0235 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>