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

It would be really useful to have QObject::connect(QObject *, QMetaMethod, QObject, QMetaMethod) version of connect

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 4.8.0
    • 4.6.2
    • Core: Object Model
    • None
    • 4a2ba043ed09375e4d9423def32084ab97ea560a

      Hello

      I'm trying to implement auto-connection of all signals and slots in one object to signals and slots with the same name and normalized signature in another class. I stuck with the fact that there is no way to connect signal with slot using their QMetaMethod representation using documented Qt API. It would be really good to have such version of QObject::connect:
      bool QObjectConnect(QObject *sender, const QMetaMethod &signal, QObject *target, const QMetaMethod &method);

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

            goffart Olivier Goffart (closed Nokia identity) (Inactive)
            vestnik Sergey Vidyuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes