Ensure that the changedEntries property is correctly propagated
ClosedPublic

Authored by leinir on Oct 29 2019, 9:59 AM.

Details

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.

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)

Diff Detail

Repository
R304 KNewStuff
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
leinir created this revision.Oct 29 2019, 9:59 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptOct 29 2019, 9:59 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
leinir requested review of this revision.Oct 29 2019, 9:59 AM
ngraham accepted this revision.Oct 29 2019, 4:07 PM
This revision is now accepted and ready to land.Oct 29 2019, 4:07 PM
This revision was automatically updated to reflect the committed changes.