qt5base-lts/tests/auto/corelib
Matt Broadstone d6d7624796 Added constructor to QJsonValue for const char *
For convenience, it reads more easily (and is somewhat expected) to
be able to add a string to a QJsonArray like you might with a
QVariantList: QJsonArray() << "string". Previously, QJsonValue provided
a private void* ctor to explicitly deny this case because it would
implicitly convert to a boolean. This ctor provides a const char* ctor
(much like QVariant) that interprets the incoming text as utf8 and
creates a String type QJsonValue.

[ChangeLog][QtCore][QJsonValue] Added constructor to QJsonValue for const char *

Change-Id: Icafa954d3da1fb264f9d0fd7cd1a1d2fbbe15095
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2014-01-16 21:49:26 +01:00
..
animation Stabilize one function in tst_qpauseanimation.cpp 2014-01-07 19:21:16 +01:00
codecs Add a new UTF-8 decoder, similar to the encoder we've just added 2014-01-09 22:34:54 +01:00
global Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
io remove qt_windows.h from qwinoverlappedionotifier_p.h 2014-01-15 18:43:20 +01:00
itemmodels Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
json Added constructor to QJsonValue for const char * 2014-01-16 21:49:26 +01:00
kernel Send DynamicPropertyChange event only when value is changed. 2014-01-09 12:14:42 +01:00
mimetypes Add QT_NO_PROCESS guards in tests where they are missing 2013-09-03 08:42:24 +02:00
plugin qcompilerdetection.h: add Q_COMPILER_UNIFORM_INIT 2013-11-15 06:30:53 +01:00
statemachine don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
thread tst_qthreadpool: fix memory leak 2013-11-28 09:14:11 +01:00
tools Update the Unicode Data and Algorithms up to Unicode 6.3.0 2014-01-14 15:38:57 +01:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00