diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2016-10-21 18:52:54 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2017-02-09 18:46:15 +0000 |
commit | 60563855e589cb51b4966ca51a4d390a2f1609a4 (patch) | |
tree | 09da8374ec9d89311f39e29ec1be30e1aa450e2e /src/corelib/io/qiodevice_p.h | |
parent | b052d0cffd30ba488bf73c8ee57085e5c023298f (diff) |
Refactor QIODevice::read()
Move device-dependent part of the code into the private function for
further reusing by peek() procedure.
Task-number: QTBUG-56032
Change-Id: Iedceafe4b0bab109ca5c64ad274d779efe87c27b
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/io/qiodevice_p.h')
-rw-r--r-- | src/corelib/io/qiodevice_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/io/qiodevice_p.h b/src/corelib/io/qiodevice_p.h index 76bec89ef2..0e424b6831 100644 --- a/src/corelib/io/qiodevice_p.h +++ b/src/corelib/io/qiodevice_p.h @@ -171,6 +171,7 @@ public: void setReadChannelCount(int count); void setWriteChannelCount(int count); + qint64 read(char *data, qint64 maxSize); virtual qint64 peek(char *data, qint64 maxSize); virtual QByteArray peek(qint64 maxSize); |