qt5base-lts/tests/auto/sql/kernel
Marc Mutz 75f5e2bef2 Deprecate QString::null
It's a Qt 3 compatibility vehicle, and as such inherits the now-alien
property to distinguish empty and null strings. Particularly worrisome
is the following asymmetry:

   QString("") == QString::null          // false
   QString("") == QString(QString::null) // true

Instead of fixing this behavior, recognize that people might use it as
a weird way to call isNull(), albeit one that once was idiomatic, and
simply deprecate everything that deals with QString::null.

[ChangeLog][QtCore][QString] QString::null is now deprecated. When
used to construct a QString, use QString() instead. When used to
compare to a QString, replace with QString::isNull().

Change-Id: I9f7e84a92522c75666da15f49324c500ae93af42
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru>
2017-03-12 17:41:16 +00:00
..
qsql tst_qsql.cpp: Remove deprecated module include 2016-11-25 09:55:21 +00:00
qsqldatabase Deprecate QString::null 2017-03-12 17:41:16 +00:00
qsqldriver QSql tests: Remove Windows CE and clean up code. 2016-03-10 15:07:02 +00:00
qsqlerror Updated license headers 2016-01-21 18:55:18 +00:00
qsqlfield Updated license headers 2016-01-21 18:55:18 +00:00
qsqlquery tst_qsqlquery.cpp: Refactor runIntegralTypesMysqlTest() 2016-12-05 12:06:39 +00:00
qsqlrecord Updated license headers 2016-01-21 18:55:18 +00:00
qsqlresult Updated license headers 2016-01-21 18:55:18 +00:00
qsqlthread QSql tests: Remove Windows CE and clean up code. 2016-03-10 15:07:02 +00:00
kernel.pro SQL: Change in QSqlResultPrivate::positionalToNamedBinding() 2012-12-10 21:23:35 +01:00