Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70484

QIODevice read, readLine, readAll could report errors through optional bool* or lambda

    XMLWordPrintable

Details

    Description

      These functions cannot report errors currently:
      http://doc.qt.io/qt-5/qiodevice.html#read-1
      http://doc.qt.io/qt-5/qiodevice.html#readAll
      http://doc.qt.io/qt-5/qiodevice.html#readLine-1

      However additional bool* parameter or even a lambda callback function could be used to signal these.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              poikelin Joni Poikelin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes