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

QFile::supportsMoveToTrash

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • Not Evaluated
    • 6.9.0 FF
    • None
    • Core: Other
    • None
    • 17d1d577c (dev)

    Description

      In our app, we need to know if moving to a system trash is supported.

      As a workaround, we can create a temporarily file and then try to delete it using QFile::moveToTrash. 

      But, this is not very good and convenient. Instead, I would like to be able to use some API like static bool QFile::supportsMoveToTrash() or QStorage(xxx).supportsMoveToTrash().

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            alervd Alexander Dyagilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes