Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtRemoteObject .rep file with nested CLASS attributes

QtRemoteObject .rep file with nested CLASS attributes

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 72 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jay1
    wrote on last edited by
    #1

    I am using QtRemoteObject, so I need to create a .rep file for my use case which looks similar to the one provided here. I am trying to find:

    1. I wanted to know if the following .rep file a valid one?
      There is very little documentation that I could find.

    2. When I create this .rep file and change the 'layer_1_0->layer_2_0->testData' parameter then 'layer_1_1->layer_2_0->testData' parameter is also changed. This looks weird. I doubt if QtRemoteObject is using singleton pattern internally maybe causing this (this is my guess, I may be wrong)

    Kindly provide any suggestion or ideas.

    class SubClass_2 {
        PROP(int testData=0 READPUSH);
    };
    
    class SubClass_1 {
        CLASS layer_2_0(SubClass_2);
        CLASS layer_2_1(SubClass_2);
    };
    
    class root {
        CLASS layer_1_0(SubClass_1);
        CLASS layer_1_1(SubClass_1);
    };
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved