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

Provide a replace function for QQmlListProperty

    XMLWordPrintable

Details

    • All
    • 5a4ffa0de0ecc666a514ef60f0149a76d25b040d (qt/qtdeclarative/5.15)

    Description

      Right now you can add things to QQmlListProperty, clear it, count its entries, and retrieve one. However, it should be possible to replace an entry.

      QQmlListProperty is public API and a template. Changing that in a source and binary compatible way is challenging. However, we do have two spare pointers (dummy1 and dummy2) in there. It should be possible to squeeze a ReplaceFunction into those, even in Qt5.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-79263
          # Subject Branch Project Status CR V

          Activity

            People

              ulherman Ulf Hermann
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes