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

QSignalMapper deprecation

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • None
    • Core: Object Model
    • None

    Description

      I believe the deprecation of QSignalMapper has to do with C++11 lambdas supporting many of it's use-cases, however on my usage of it I currently cannot get rid of it.

      My use case introspect QObjects and get their signals and slots on a QMetaMethod, then the meta-method-signals will call the meta-method-slot with an extra value.

      I currently cannot connect a QMetaMethod signal to a lambda, is that was possible I could call invoke on the QMetaMethod slot, I somehow think this will be less readable but would cover my use-case.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            dantti Daniel Nicoletti
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes