summaryrefslogtreecommitdiff
path: root/sync.profile
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@qt.io>2019-10-21 12:32:48 +0200
committerDominik Holland <dominik.holland@qt.io>2019-10-29 12:25:21 +0100
commit25b1d344d1f5b5fe791f9c9893adfc59a8db60e5 (patch)
tree03f0a09261da2fdc6a5f46607575229373faae43 /sync.profile
parent14b43ffaf28dd3a9ac45ddeb5aa384de4fc26501 (diff)
downloadqtivi-25b1d344d1f5b5fe791f9c9893adfc59a8db60e5.tar.gz
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 <robert.griebl@qt.io>
Diffstat (limited to 'sync.profile')
-rw-r--r--sync.profile4
1 files changed, 4 insertions, 0 deletions
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" ]
+)
+