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

Add overload for QFileDialog::open() that accepts function pointers

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 5.10.0
    • None

    Description

      Many callback functions that used to accept names of slots or Q_INVOKABLE methods now accept function pointers too:

      • QHostInfo::lookupHost()
      • QTimer::singleShot()
      • QMetaObject::invokeMethod()

      For completeness, it would be nice if QFileDialog::open() followed suit.

      P.S. The 4 functions listed above are all that I'm aware of. Do any other such functions exist?

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            jksh Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes