D25041: Ensure that the changedEntries property is correctly propagated

Dan Leinir Turthra Jensen noreply at phabricator.kde.org
Tue Oct 29 09:59:43 GMT 2019


leinir created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
leinir requested review of this revision.

REVISION SUMMARY
  Without this change, for some reason unknown to me, the alias
  seems to fail quietly (that is, you can still read the property,
  but it does not forward the changed signal).
  
  This was discovered during the course of reviewing D24942 <https://phabricator.kde.org/D24942>.
  
  Expose the amount of changed entries
  
  Since changedEntries is only a forwarding type, and not a true list
  in the QML sense, there's no good way to get the number of entries
  (without for e.g. changing changedEntries to a model, which just
  seems like overkill)

REPOSITORY
  R304 KNewStuff

BRANCH
  ensure-changedentries-is-forwarded (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D25041

AFFECTED FILES
  src/qtquick/qml/Button.qml
  src/qtquick/quickengine.cpp
  src/qtquick/quickengine.h

To: leinir
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191029/16a8a5b1/attachment.html>


More information about the Kde-frameworks-devel mailing list