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

"Signal and Handler Event System" documentation does not mention best practices to deal with signal parameters

    XMLWordPrintable

    Details

    • Commits:
      a678309dfd132e1b34662c72b8d8d8515e2826d0

      Description

      The documentation should mention that

      • we inject signal parameters as names, but that this is depercated
      • that you can use onFoo: (fooParam1, fooParam2) => {...} if you need to access the parameters
        - that the block syntax (onFoo: {...}

        ) is fine if you don't actually access the parameters

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes