Define QStringLiteral when undefined (e.g. Qt 4)
authorLaszlo Papp <lpapp@kde.org>
Wed, 6 Nov 2013 08:37:47 +0000 (08:37 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 6 Nov 2013 08:55:30 +0000 (09:55 +0100)
commit8e0b66f1269c0516fd339a18b5644bf38a1e2412
tree14bb8482e2ca6d7712657163f85a916b1f0671a4
parent77f5e60cd23391f5103ac9c238066611b2fc4223
Define QStringLiteral when undefined (e.g. Qt 4)

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>
examples/serialport/terminal/settingsdialog.cpp
src/serialport/qserialport_unix.cpp
src/serialport/qserialport_win.cpp
src/serialport/qserialportglobal.h
src/serialport/qserialportinfo_unix.cpp
src/serialport/qserialportinfo_win.cpp
src/serialport/qserialportinfo_wince.cpp
src/serialport/qtudev_p.h