summaryrefslogtreecommitdiffstats
path: root/src/nfc/qnearfieldtarget_neard_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace foreach with for loop and set QT_NO_FOREACHOliver Wolff2018-08-151-1/+1
| | | | | | | | To avoid unnecessary copies, const is used wherever possible. Change-Id: Ic743716512751cfd24fad5bd37c244b115dd26fe Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Introduce reportError to fix "QMetaObject::invokeMethod: No such method"Lars Schmertmann2018-07-171-6/+2
| | | | | | Task-number: QTBUG-67958 Change-Id: Ia5a21cb19f0318844ac436adcc3f0fff9a3185b5 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix "QMetaObject::invokeMethod: No such method"Lars Schmertmann2018-06-191-4/+6
| | | | | | | Task-number: QTBUG-67958 Change-Id: I03dbf411d6a1b2a710d13c1eb5f1f75d594d2a9a Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: André Klitzing <aklitzing@gmail.com>
* Normalize Q_ARG arguments (const modifier removed)Alex Blasche2017-11-031-4/+4
| | | | | Change-Id: Ia65a879221d565af9b89083c6145c097472567a5 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* Convert Q_ARG params to normalized formAlex Blasche2017-10-201-3/+3
| | | | | | | This was identified by clazy. Change-Id: If45c1c1898ee2dc4dd6274aa441b1c980a00686f Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* Updated license headersAntti Kokko2016-01-201-15/+21
| | | | | | | | | | From Qt 5.7 -> LGPL v2.1 isn't an option anymore, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new LGPL header instead of LGPL21 one (in those files which will be under LGPL v3) Change-Id: I856c13e2a6d4d12c46e1286b0ca1c092ee4608f8 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Add missing "We mean it" comments to private headers.Friedemann Kleint2015-10-091-0/+11
| | | | | Change-Id: I4e78a2b263fb779253556201fd20fe47a2afc58e Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Update copyright headersJani Heikkinen2015-02-161-21/+13
| | | | | | | | | 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>
* Disable writing of Ndef messages due to crash in Neard daemonAlex Blasche2015-01-131-0/+5
| | | | | | | Task-number: QTBUG-43802 Change-Id: I8500f67e44ad4119ec540eb45c1891ac849d2085 Reviewed-by: Martin Leutelt <martin.leutelt@basyskom.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Neard: fix tag writingMartin Leutelt2015-01-131-38/+59
| | | | | | | | The write operation has to be delayed since neard isn't able to write to tags immediately after tag detection. Change-Id: I177cc700d0688e23909b9b2751a0d11f163a5499 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Neard: Read all availabe SmartPoster dataAlex Blasche2014-12-111-7/+20
| | | | | | | | | So far, Size, Action and MimeType were not read when detecting a smartposter tag. Change-Id: Ica283eac8248ef5ed73f8538eac76050b1310eef Reviewed-by: Martin Leutelt <martin.leutelt@basyskom.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Fix writing of NFC URI recordsAlex Blasche2014-12-111-2/+2
| | | | | | | | | We need to write the entire URL and not just the path which would be empty in cases such as http://www.qt.io. Change-Id: I3529e200088cc9192fa16626cb21fffcca7f26c5 Reviewed-by: Martin Leutelt <martin.leutelt@basyskom.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Neard: porting to neard v0.14Martin Leutelt2014-09-301-83/+124
| | | | | | | | | The dbus interfaces have been adapted to the state of neard v0.14. Reading from the supported tags works, writing to them works to a limited extent. Change-Id: Ib0704c6d951baa31ad58484e0c11534aaad359be Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Neard: Implement tag writeFabian Bumberger2014-07-081-3/+75
| | | | | Change-Id: I423658f5365ed51ccb117f5e388b93cc3ab2b8f9 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Add neard ndef record parsingFabian Bumberger2014-07-021-8/+77
| | | | | | | | This patch adds the neard dbus interface and provides logic to parse data from this interface. Change-Id: Id9a5df88d75c71cf6f2b320afed644a38d03c38d Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Implement tag detected and tag lost signalsFabian Bumberger2014-07-021-10/+42
| | | | | | | This patch also implements reading the record pathes from the tag. Change-Id: Ia19ff235149cb91d3cbf7ae7c043d07d6aeae429 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Introduce a logging category for the neard implementationFabian Bumberger2014-07-021-1/+5
| | | | | Change-Id: I3bee8a5c2e3bee9a83ddcb6f3a5b2b42fdb24d89 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Add QNearfieldTarget neard implementationFabian Bumberger2014-07-021-0/+155
This is mostly a skeleton implementation. There is no support yet for reading records or ndef messages. Change-Id: Id521468517c04b088152e15a327cff9b26fa346f Reviewed-by: Alex Blasche <alexander.blasche@digia.com>