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

QSignalMapper deprecation

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes