qt5base-lts/tests/auto/corelib
Erik Verbruggen 5fd9fe02ff QStateMachine: add defaultTransition in QHistoryState
The history state had the limitation that it was hard (or impossible) to
use when more than one default state had to be entered. For example,
using it in a parallel state was impossible without ending up in an
infinite loop.

This patch changes the QHistoryState to only have an initial transition,
and the state selection algorithm is changed accordingly. It also brings
QStateMachine closer to the SCXML standard.

The existing defaultState is implemented on top of the
defaultTransition: when used, a new transition, with the default state as
its target, is set as the defaultTransition.

Task-number: QTBUG-46703
Change-Id: Ifbb44e4f0f26b72e365af4c94753e4483f9850e7
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
2015-07-23 13:29:46 +00:00
..
animation Extend tst_QPauseAnimation::pauseAndPropertyAnimations blacklist 2015-06-20 15:25:58 +00:00
codecs fix usage of wince scope 2015-06-05 10:29:10 +00:00
global Merge remote-tracking branch 'origin/5.5' into HEAD 2015-07-17 16:35:42 +02:00
io QProcess: make setWorkingDirectory stop launch if the dir doesn't exist 2015-07-20 16:07:46 +00:00
itemmodels Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
json Make sure remove() doesn't corrupt the json object 2015-03-18 07:34:59 +00:00
kernel Selectively update library paths when creating QCoreApplication 2015-07-20 15:57:07 +00:00
mimetypes Add QTemporaryDir::errorString() 2015-07-17 17:36:07 +00:00
plugin Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
statemachine QStateMachine: add defaultTransition in QHistoryState 2015-07-23 13:29:46 +00:00
thread Tests: Do not rely on qCompare(bool, int,...). 2015-07-18 10:36:17 +00:00
tools QVector: add an rvalue overload of push_back/append 2015-07-19 18:09:27 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
corelib.pro