[SailfishDevel] Technical question: populating ListModel from C++

Kimmo Lindholm Kimmo.Lindholm at eke.fi
Fri May 23 06:17:01 UTC 2014


Hi All,

What would be the best method to populate ListModel in QML from the C++ side?

I have sqlite database, which contents I would like to put on ListView.

List is changed only by user when deleting or adding entry, upon this action I would like to update sqlite and then refresh listmodel.

-kimmo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140523/dc5283bd/attachment.html>


More information about the Devel mailing list