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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes