qt5base-lts/tests/auto/corelib
Andrei Golubev 3ca600bd2d Make QPromise::addResult() return boolean status of operation
Changed QPromise::addResult() to return bool value. True is returned
when result is added and false is returned when e.g. promise is in final
state (canceled or finished) or when addResult() is called twice with
the same index as argument (in which case new value is rejected)

Updated QFutureInterface::reportFinished() that accepts optional result
as argument to align with other result adding methods. This function
is "internal" only (as of now), so no documentation update is needed

Change-Id: I2d63069246e5e5c8cf04529c22bb296faaaae53d
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
2020-10-16 09:48:10 +02:00
..
animation Remove timeStep parameter from QAnimationDrive::advanceAnimation 2020-10-13 08:44:42 +02:00
global Add {add,sub,mul}_overflow detection when one operand is a constant 2020-09-29 14:55:48 -07:00
io Fix warning: helper functions are only used on some platforms 2020-10-16 04:44:22 +02:00
itemmodels Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
kernel Fix compile time type normalization code 2020-10-14 21:37:39 +02:00
mimetypes CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
plugin CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
serialization Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
text Clean up tst_QLocale::testNames(), give better message on failure 2020-10-09 14:40:37 +02:00
thread Make QPromise::addResult() return boolean status of operation 2020-10-16 09:48:10 +02:00
time Check validity before adding to a QDateTime 2020-10-09 01:11:20 +02:00
tools Improve QRectF::toRect() 2020-10-12 13:00:43 +02:00
.prev_CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
corelib.pro Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00