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

Regularise the mkdir and mkpath methods of QDir.

    XMLWordPrintable

Details

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

    Description

      The mkdir() and mkpath() methods of QDir do not really make sense as they instance methods but take a parameter, even though QDir already represents a directory.

      It is suggested that these methods are deprecated and replaced by an instance method which does not take a parameter and create the directory that the QDir object represents (perhaps create()) and static methods (createDir() and createPath()) which take parameters and allow the creation of arbitrary directories on the system without having to create a QDir instance.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            cryptopractor Chris Morrison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes