summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/doc/snippets
Commit message (Collapse)AuthorAgeFilesLines
* Correct license for examples filesLucie Gérard2024-04-041-1/+1
| | | | | | | | | | | | | According to QUIP-18 [1], all examples and snippets files should be LicenseRef-Qt-Commercial OR BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: I9a8fdb5308396e63785486291c4dc41cd59c1fe4 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-231-1/+1
| | | | | | | Task-number: QTBUG-105718 Change-Id: I8df2954bb61e0dc2a89f48c056b10a4bab395e0b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-081-0/+3
| | | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: Ic31d264037cb00d72436d585820e45e4ccac5c60 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-101-49/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: Ifc22d8ae24532e9a1093ca613ed6590a1992bc39 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Doc: Use find_package(Qt6 REQUIRED COMPONENTS ...) idiomKai Köhne2022-05-131-1/+1
| | | | | | | | | | | Using REQUIRED as a prefix instead of suffix works better with OPTIONAL_COMPONENTS, and is also the order in the CMake manual. Task-number: QTBUG-98867 Pick-to: 6.3 Change-Id: Id019afe67edccdff477569a483ec61393e57602b Reviewed-by: Rui Oliveira Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Replace "Getting Started" by "Using the Module" in QtBluetooth docsAndreas Buhr2021-08-191-0/+4
| | | | | | | Pick-to: 6.2 Fixes: QTBUG-94894 Change-Id: I628af802fc589e163dc9087fa7fc3fd7db71caba Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Remove documentation of previously removed Qt Bluetooth QML typesAndreas Buhr2021-08-191-78/+0
| | | | | | | | | | | The QML interface to Qt Bluetooth was removed. This patch removes some remainders in the documentation. Pick-to: 6.2 Task-number: QTBUG-94894 Change-Id: I4e4d0ae354ccc1b88aa8530b89e6786752b8af49 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Doc: Fix documentation warningsTopi Reinio2021-04-301-0/+3
| | | | | | | | | | | | | * Restore (parts of) snippets.pro files for quoting in the documentation * Remove references to removed method, QNearFieldManager::registerNdefMessageHandler() Task-number: QTBUG-91875 Change-Id: Ib88c71da3426826b379832003a29fffc255aaaf5 Reviewed-by: Andreas Buhr <andreas.buhr@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Change QLowEnergyService::ServiceState enum to reflect future changesAndreas Buhr2021-04-081-2/+2
| | | | | | | | | | | | In the future, discoverDetails() should become optional. The state of a QLowEnergyService after its creation should have a name which does not imply it is not functional yet. This patch changes the name of the initial state from "DiscoveryRequired" to the neutral "RemoteService". Task-number: QTBUG-75340 Change-Id: Ib407e60f5fc7264a04a124561dacbcebb01bf252 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Use scoped enum for constants in QBluetoothUuidAndreas Buhr2021-03-111-5/+5
| | | | | | | | | | | | QBluetoothUuid contains enums for ProtocolUuid, ServiceClassUuid, CharacteristicType and DescriptorType. So far, they all put their constants directly into the QBluetoothUuid namespace, making it easy to mix them up. This patch changes those to scoped enums. That way, each enum has its items in its own namespace. Change-Id: I86ea08ff31009dc8073d84cfe678e27920d693f7 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Remove QBluetoothTransferManager and friendsAndreas Buhr2021-02-261-39/+0
| | | | | | | | | | | | This patch removes QBluetoothTransferManager, QBluetoothTransferReply and QBluetoothTransferRequest. Furthermore, the examples "btfiletransfer" and "picturetransfer" are removed. Fixes: QTBUG-75353 Task-number: QTBUG-62877 Change-Id: Ife192d80196249185df877fb6a4cae317d7e44ad Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Remove all *.pro files and all "special case" markers in CMakeLists.txtAndreas Buhr2021-01-151-8/+0
| | | | | | | | | | | | To use CMake only in the future to build QtConnectivity, all the traces from the qmake->CMake conversion can now be removed. This patch deletes all ".prev_CMakeLists.txt" files, in deletes all "*.pro" files and it removes all "special case" markers in CMakeLists.txt files. "special case" in "*.cmake" files are kept. Change-Id: Ia0f5d4de5d77b9f2e5cc8d97fc8f04077e042a6f Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Rename QLEService::DiscoveringServices to DiscoveringServiceAlex Blasche2020-05-141-1/+1
| | | | | | | | | | | | Singular is a better fit to avoid the notion of several services being discovered at a given time. [ChangeLog][QtBluetooth][QLowEnergyService] Renamed DiscoveringServices enum value to DiscoveringService. Task-number: QTBUG-75344 Change-Id: I9ebe8a8ccba8bb49c55772ae81338f376826ee64 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* Doc: Use a macro to resolve QML import versionsTopi Reinio2018-09-281-1/+1
| | | | | | | | | | | | | | QDoc now supports macros for its command parameters, as well as passing parameters to \code and \qml commands. Use these together with the new \QtMinorVersion macro to automate bumping the QML import versions within documentation. Also, update the hard-coded version numbers in snippet files where we cannot use the macro. Task-number: QTBUG-67818 Change-Id: I93d92770314580efa933c5bf85c618ad8331afb5 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Remove direct usage of QLowEnergyController::ctorAlex Blasche2018-08-211-1/+1
| | | | | | | | QLowEnergyController::createCentral() is the official API to do the same. Change-Id: Idbd26d201b24add6697f6f9cdf1194511c160273 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Fix outdated BSD license headerKai Koehne2017-10-172-6/+26
| | | | | Change-Id: I28f5936913a6127806325df34af4bf71a142e72e Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Reduce platform specific code linesAlex Blasche2015-05-121-2/+2
| | | | | | | | | | | | QLEController(QBluetoothAddress) ctor is not usable on iOS and OSX. On those platforms we have to use QLECOntroller(QBluetoothDeviceInfo). We mark the QBluetoothAddress based ctors of QLEController obsolete and remove most uses of them. This cleans up some ifdefs throughout the QtBluetooth code base. Change-Id: Ibe1e3fa271a29461e39fc3c0eeba7a910a250077 Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
* Update copyright headersJani Heikkinen2015-02-162-8/+8
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I3822a6484e8f7a420330de1cb1aeb0c3d1cf41b7 Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* Improve QBluetoothTransferManager documentationAlex Blasche2014-10-161-4/+15
| | | | | | | Change-Id: I918bd3b4134504d5bfc3e160adeb97187186df3d Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Improve documentation on how to enable characteristic notificationsAlex Blasche2014-09-021-0/+51
| | | | | Change-Id: I87575fb7b5115a536e12c0a00374cc0e67428706 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Add class documentation for QLowEnergyServiceAlex Blasche2014-08-181-0/+28
| | | | | | | This class is part of the new Bluetooth Low Energy feature in Qt 5.4 Change-Id: If10cac1ac1312cb63137c854a4456bf2d646f630 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
* Remove duplicate function definitionLouai Al-Khanji2014-04-241-4/+5
| | | | | Change-Id: I1d76c50d84a0c33e56c2e197e5eb528b00082949 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Provide correct code snippet for QBluetoothServiceDiscoveryAgentOleg Shparber2014-04-221-2/+27
| | | | | Change-Id: I8b975a2f55833c58479edac5d62809c1e83ea417 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Update QtBluetooth docs for Qt 5.3Alex Blasche2014-03-101-0/+6
| | | | | | | | | This fixes some spelling/grammar mistakes and updates information that has changed in Qt 5.3 Change-Id: I09d1ea1dc3edef08c3ee6a494968e13e91385c29 Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Build the bluetooth doc snippet.Alex Blasche2014-03-103-56/+67
| | | | | | | | | | This ensures that it keeps compiling and is correct. Although it wasn't able to compile due to a partial implementation, the snippet itself had errors which demonstrated wrong API aspects. Change-Id: I24048d968573e260d5b3ba92e38ce1dc9d24e52f Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Normalize signal & slot signatures in connectionThiago Macieira2014-02-031-2/+2
| | | | | | | Profiling shows Qt Creator spends 2% of its load time normalizing Change-Id: I50c4f66f30debd49c37109dd2460925dc22af605 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* QtBluetooth QML API starts with 5.2.Alex Blasche2013-10-141-1/+1
| | | | | | | | 5.0 remains as silent import though. Change-Id: I06c839a1224dc0d8b019bd99e354245f829ae750 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
* Remove QtBluetooth and QtNfc namespace.Alex Blasche2013-09-091-1/+1
| | | | | | | | This is based on namespace discussions on the Qt project dev mailing list. We continue to use the Qt namespace. Change-Id: I6119d06662f7682c11f42d759f3218be1f5a7d6c Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Update Copyright headersAlex Blasche2013-06-253-3/+3
| | | | | | | | | - Update Digia's copyright year - Add copyright to files without it - Convert old BSD to new LGPL license for auto test code Change-Id: I47f5c871c436f9c2731b235026434448719cc671 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* fix examples regarding namespace macro useOswald Buddenhagen2013-03-131-1/+1
| | | | | Change-Id: I0c06adad47f206c796e242ea265809ca7882807d Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Qt Bluetooth: Modularized documentationJerome Pasion2012-09-273-0/+210
-moved documentation to src/bluetooth/doc -added a qdocconf file for Qt Bluetooth -fixed relative paths for snippets -moved examples to examples/bluetooth Change-Id: Id41bac50dca628400568d191f1c3ccfbaac790a1 Reviewed-by: Alex <ablasche@gmail.com>