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

Progress report on copy, move and compression utilities

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Do
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.12.0
    • Core: I/O
    • None
    • All

      I suggest a pointer to double as an additional argument to `QFile::Copy`, `QFile::Move` and compress utilities (`qCompress` and `qUncompress`). Make the argument default to `nullptr` so the backward compatibility is no broken. Report the progress of the operation between 0.0 and 1.0. The progress can be watched then using a timer on a separated thread, for example. I've implemented such feature by my own by adding some lines to the respective Qt Code. It's not difficult, at least for the `QFile` functions.

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

            thiago Thiago Macieira
            ceperez1996 Carlos Pérez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes