From 25b1d344d1f5b5fe791f9c9893adfc59a8db60e5 Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Mon, 21 Oct 2019 12:32:48 +0200 Subject: ivigenerator: Properly support models in zoned interfaces part 2 Changes the way how the QtRo Adapters and wrappers are created. Previously the replica names for the adapters were hardcoded into the wrappers. The new way is to ask the adapter for the replica name and make this name part of the adapters constructor. To make this easier the adapter also gets a enableRemoting() function which does the remoting with the correct wrappers and also makes sure all model properties and all zoned model properties are remoted correctly. For this new way also the QIviPagingModel needs an adapter, which is why it was moved into the helper library. Change-Id: Ibb7f2c282d334a2601bd803a92ff71c2e8b2fd32 Reviewed-by: Robert Griebl --- sync.profile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sync.profile') diff --git a/sync.profile b/sync.profile index 10ca36e..f35fed8 100644 --- a/sync.profile +++ b/sync.profile @@ -26,3 +26,7 @@ "qtmultimedia" => "" ); +%inject_headers = ( + "$basedir/src/helper/remoteobjects" => [ "rep_qivipagingmodel_source.h", "rep_qivipagingmodel_replica.h" ] +) + -- cgit v1.2.1