[Interest] remoteobject returning a list of remoteobjects

Marc Van Daele marc.van.daele90 at gmail.com
Sat Apr 20 13:44:22 CEST 2019


I'm trying to understand the remoteobjects component.
Suppose I have, on my backend, a Household containing a list of Persons.

I guess I'll have a rep file like

class Person
   //some properties, slots and signals
class Household
    PROP(QList<Person> persons)

Now I wonder

   - Is this a valid approach?
   - will the persons property result in a list of PersonReplica on the
   client side and in a list of PersonSources on the server side?
   - how can I link a specific PersonReplica object to the corresponding
   PersonSource object?
   - where should this linking be done?

Thanks in advance,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190420/86c3854d/attachment.html>

More information about the Interest mailing list