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

QTimer::singleShot should have overloads to work with function pointer like QObject::connect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.1.1
    • Core: Event loop
    • None
    • Windows

    Description

      QTimer::singleShot 's arguments, receiver and member are passed directly to QObject::connect. While connect has a lot of overloads like the one with function pointer, the QTimer::singleShot method has only the old way.

      It will be great if the new syntax is propagated to QTimer::singleShot.

      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
              kimi arthur Kimi Arthur
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes