qt5base-lts/tests/auto/corelib
Mitch Curtis 507f1889e2 Add QJsonValue::toInt().
It's a nice feature to have.

MSVC also complains about using doubles to create enum values, so
the ugly workaround is:

enumValue = MyEnum(qRound(json["myEnumValue"].toDouble()));

[ChangeLog][QtCore][QJsonValue]Added QJsonValue::toInt().

Change-Id: I1a200b912abf66b2e96390b1980caff26cfa2685
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2013-08-27 08:01:29 +02:00
..
animation Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
codecs Ensure that the user codecs are listed in QTextCodec::availableCodecs 2013-07-21 07:30:48 +02:00
global Make QFlags enum flags (C++11 strict enums) friendly 2013-05-09 12:17:59 +02:00
io Add unit test to ensure %3A in a path isn't decoded to ':' 2013-08-23 21:39:23 +02:00
itemmodels Make the QItemSelectionModel test widgets-independent. 2013-08-13 16:34:16 +02:00
json Add QJsonValue::toInt(). 2013-08-27 08:01:29 +02:00
kernel Merge remote-tracking branch 'origin/stable' into dev 2013-08-14 09:06:31 +02:00
mimetypes QMimeDatabase: Fix handling of duplicate mimetype definitions (2/2). 2013-08-03 14:44:12 +02:00
plugin OSX: Make machtest compile on 10.9 2013-08-05 17:58:24 +02:00
statemachine Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
thread QThreadPool: fix counting of waiting threads 2013-08-24 13:09:46 +02:00
tools Long live QCommandLineParser! 2013-08-24 21:33:39 +02: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