summaryrefslogtreecommitdiff
path: root/src/serialport/qserialportglobal.h
Commit message (Collapse)AuthorAgeFilesLines
* Unify license header usageAntti Kokko2016-02-021-13/+19
| | | | | | | | Update old header.LGPL3 to header.LGPL Change-Id: I1b17b6f798ee521d2e3bd8c37024df7cd65ee0c4 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Update copyright headersJani Heikkinen2015-02-131-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: I35f551de8408a2eb6a0f39df1f09d90c8084a7c0 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
* Remove macroes that was added for Qt4 compatibilityDenis Shienkov2014-11-221-12/+0
| | | | | | | | An extra-definitions of Q_DECL_OVERRIDE, QStringLiteral and Q_NULLPTR macroes are not need anymore, since it was need previously only to Qt4 compatibility. Change-Id: Ie773dce1606e04107fbe58f99650f30486553d8e Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
* Drop the Qt4 supportDenis Shienkov2014-10-231-5/+0
| | | | | | | | Now QtSerialPort can be built for Qt5 only. QtSerialPort for Qt4 is developed in a separate branch. Change-Id: Iaaa95fb7cb0aedbfc1b17ed11717fff8f9c126a0 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
* Update license headers and add new license filesAntti Kokko2014-09-091-18/+10
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I08685205169cdd4b49a651ed98f36ba1e6c1bb29 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
* Use Q_NULLPTR for null pointer purposes with NULL fallback for Qt 4Laszlo Papp2014-05-131-0/+4
| | | | | | | Change-Id: I5422376a26111f7c8e084791a059215238a16868 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Steven Ceuppens <steven.ceuppens@icloud.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
* Obsolete the isValid() method in QSerialPortInfoLaszlo Papp2013-11-301-0/+4
| | | | | | | Task-number: QTBUG-35184 Change-Id: Ie822943bcaf071024bc4f9782441b0534fcbd43d Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
* Define QStringLiteral when undefined (e.g. Qt 4)Laszlo Papp2013-11-061-1/+6
| | | | | | | | | | | | This will allow us Qt 5 style coding. QLatin1String replaced everywhere where it works for Qt 4 and 5, namely: the direct literal passing. Note that the "standard" typo has also been fixed in this commit as the line had to change anyway, so it is not much of an additional noise. Change-Id: I8b7e4fe5f337441000bd3d8f58db528fdd0e175b Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
* Make a good use of the new "override" C++11 specifier when availableLaszlo Papp2013-03-241-0/+5
| | | | | | | | | | | | | | | | | | The usage of the specifier helps to catch mistakes in general and also explicitly shows the intention. Furthermore, leave the "virtual" specifier out as per Qt Coding Style: http://qt-project.org/wiki/Qt_Coding_Style#fe675674b70cdaca505f3cff0244fbae It does not make much sense in general with the override specifier either anyhow. Note: an empty define is still necessary as long as QtSerialPort supports Qt4 which is the current situation. Change-Id: Iedf01071e6303d88305c140f4a767bb43059f593 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
* Fix the include guard for the global serial port headerLaszlo Papp2013-02-271-3/+3
| | | | | | Change-Id: Iadd7fc49ad2dfdc9910b37f41056b0b66b532799 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
* Unbreak the build for WindowsLaszlo Papp2013-02-121-3/+7
| | | | | | | | | | | | | 1) This export trick is necessary to get the project build on Windows. This was not caught by the CI previously as it was turned off (force success). 2) It is also how other modules handle the exporting in their module global header files. Change-Id: I64be4e99089c7cfcdfaeb90f5406e2a016e3c0e1 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
* Remove the dash from the global serialport header file nameLaszlo Papp2013-02-081-0/+58
1) It is not consistent with the rest in QtSerialPort. 2) Even more importantly, it is not consistent with other Qt Project global files. Change-Id: I9d9262264bc2dbe5acfbce04013d9be08df2b47c Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>