qt5base-lts/tests/auto/corelib
Alex Trotsenko 1c0494e63b QIODevice: add infrastructure for multistreaming
Some sequential devices allow data to be partitioned into several
channels that have the property of independently sequenced delivery.
Supporting such devices uniformly requires a unified API which provides
the user with a uniform concept of multistreaming.

This patch is based on QProcess's multiplexing model and introduces
the following features:

 - ability to get the number of channels;
 - multiple internal read/write buffers;
 - channel selection functions;
 - notification signals on channel activity.

To keep the source code compatible with single-channel implementations,
introduce a private class that references the current read buffer and
hides multistreaming internals from the user.

Bump the TypeInformationVersion field in qtHookData, to notify the
Qt Creator developers that the offset of QFilePrivate::fileName was
changed and dumpers should be adapted.

[ChangeLog][QtCore] Added multistreaming to QIODevice.

Change-Id: Idcaa6a618927c101c4c7284d2a633913be6a6ee2
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2016-01-27 06:32:30 +00:00
..
animation Updated license headers 2016-01-21 18:55:18 +00:00
codecs Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
global Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
io QIODevice: add infrastructure for multistreaming 2016-01-27 06:32:30 +00:00
itemmodels Updated license headers 2016-01-21 18:55:18 +00:00
json Updated license headers 2016-01-21 18:55:18 +00:00
kernel Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
mimetypes Updated license headers 2016-01-21 18:55:18 +00:00
plugin Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
statemachine Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
thread Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
tools Merge remote-tracking branch 'origin/5.6' into dev 2016-01-26 16:27:28 +01:00
xml Updated license headers 2016-01-21 18:55:18 +00:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00