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

QDesktopServices documentation should mention QStandardPaths

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.2
    • 5.0.0 Beta 1
    • Documentation
    • None
    • 8a0a09f6d1cbeba0a88402c4318b1caaefa90d06

    Description

      Since the QDesktopServices::storageLocation() method has been removed, it doesn't appear anymore in the documentation page http://qt-project.org/doc/qt-5.0/qdesktopservices.html (it only appears in the "Compatibility members" section).
      For developers porting their code from Qt4, it would be very helpful if the QDesktopServices documentation provided a very evident note stating that the storageLocation() and displayName() members have been deprecated and that their Qt5 equivalents are part of the QStandardPaths class.

      Also, the StandardLocation enum should be part of the "Compatibility members" section, and not appear in the documentation of the QDesktopServices class.

      Attachments

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

        Activity

          People

            treinio Topi Reiniƶ
            mardy Alberto Mardegan
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes