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

QFile does not emit bytesWritten() and readyRead() signals

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.7.1
    • Core: Event loop, Core: I/O
    • None

      Documentation:

      Unlike other QIODevice implementations, such as QTcpSocket, QFile does not emit the aboutToClose(), bytesWritten(), or readyRead() signals.

      Why not to add this functionality? Windows has asynchronous files, UNIX always has this functionality..... why not ?

      I want to receive readyRead() on QFile::open(stdin, QIODevice:readOnly).... but it does not work. I must use ugly QSocketNotifier.

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

            earthdomain Earth Domain (Inactive)
            socketpair@gmail.com Коренберг Марк
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes