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

forEach() for QQmlListProperty types

    XMLWordPrintable

Details

    • 7e4b179430 (qt/qtdeclarative/dev) 7e4b179430 (qt/tqtc-qtdeclarative/dev)

    Description

      Javascript lists have forEach() function that can be used to invoke a callback function for every element. For example:

      var list = [...]
      list.forEach(function(item){ ... })
      

      Would be nice to have the same for QQmlListProperties too.

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              poikelin Joni Poikelin
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes