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

Progress report on copy, move and compression utilities

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes