[SailfishDevel] Technical question: populating ListModel from C++
Andrey Kozhevnikov
coderusinbox at gmail.com
Fri May 23 08:46:10 UTC 2014
you can check Mitakuuluu QueryExecutor asynchronous SQLite
implementation:
https://github.com/CODeRUS/mitakuuluu2/tree/master/threadworker
And my contacts and converstaion models fetching data from SQLite:
https://github.com/CODeRUS/mitakuuluu2/tree/master/client/src
23.05.2014 12:17, Kimmo Lindholm ?????:
>
> 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
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140523/3b9cebfa/attachment.html>
More information about the Devel
mailing list