summaryrefslogtreecommitdiffstats
path: root/src/nfc/qndefnfcsmartposterrecord.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Do not return from void functions/expressionsAlex Blasche2017-11-061-1/+1
| | | | | | | This was pointed out by clazy. Change-Id: I6f888e2cd667c05d0f9747fd0b2ef2bcbfe95a28 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Replace mixing of const_iterator by for-eachAndré Klitzing2017-10-091-4/+2
| | | | | Change-Id: If828dce2dcd71f36c51216c2db4437683bc2a358 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix QNdefNfcActRecord::action for platforms with unsigned charSami Nurmenniemi2017-06-271-1/+1
| | | | | | | | | | | | | QByteArray operator [] has return type of char whose signedness is dependendent on platform and compiler. Casting char to an enum with negative value does not work on configurations with unsigned char type. Fixed by explicitly casting action to signed char before converting it to enum. Task-number: QTBUG-60268 Change-Id: I733520a70c321c3b8dac9c67cfb096ac97a64b94 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Updated license headersAntti Kokko2016-01-201-14/+20
| | | | | | | | | | 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 assignment operator to QNdefNfcSmartPosterRecord.Friedemann Kleint2015-04-211-0/+12
| | | | | | | Required to pass the headersclean test. Change-Id: I0b274ee90c4172dde99dc2f8f60525466fb8d35f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Update copyright headersJani Heikkinen2015-02-161-6/+6
| | | | | | | | | 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 some parts of the SmartPoster API docsAlex Blasche2014-12-111-5/+25
| | | | | | Change-Id: I09f087d84641447fcb5e9e906f3d665ed86102e3 Reviewed-by: Martin Leutelt <martin.leutelt@basyskom.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Add \since tag to NFC classes which didn't have the tag yetAlex Blasche2014-09-261-0/+1
| | | | | | | | Internal or not yet released classes have been skipped Change-Id: I5bc3e08f87348ae8df61b923d7cdb81186ebebc8 Task-number: QTBUG-36775 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Update license headers and add new licensesJani Heikkinen2014-08-241-18/+10
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I7a8b8b787fcae9a178794364efdefe1021d10b1b Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Remove QtBluetooth and QtNfc namespace.Alex Blasche2013-09-091-2/+2
| | | | | | | | 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>
* Add copy constructor to QNdefNfcSmartPosterRecord to avoid compile errorAlex Blasche2013-08-131-0/+8
| | | | | | Change-Id: I133e7f09780d8da3bb88e9971a7f858b905176b4 Reviewed-by: Fabian Bumberger <fbumberger@rim.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Add support for NFC smart posterStuart Burge2013-07-101-1/+1
| | | | | | | | | Fix copy-paste error in icon list Task-number: QTBUG-31738 Change-Id: I525f8023e0a1b5d106d93bde0a4b3e950a2ba6ce Reviewed-by: Alex <alexander.blasche@digia.com> Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Add support for NFC smart posterStuart Burge2013-07-021-0/+732
Provide ability to construct a smart poster record from an NDEF record and get/set smart poster specific values. The record can be used as part of an NDEF message for transmission via NFC or writing to a tag Task-number: QTBUG-31738 Change-Id: I2f7ff287d7c732a3fb3ec7c5c6a7b8f50f13ab1d Reviewed-by: Alex <alexander.blasche@digia.com>