I playing with QtRO by making a service oriented app using it. in my app I want to show some reports in a ListView, some sort of rectangles with information in it. For every report I will create a QRemoteObject which will live in the server side as a service.
To expose the reports objects to the app I created another QtRO which will expose them by simply holding a QList of the reports as POD(QString name, QUrl endpoint), so as I add report to the ObjectExposer, the application will be notified and It will create the necessary GUI and hook up the events to the GUI for that report. In this design the reports objects must expose the same properties, signals and slots.
I don't know if it's a good approach or I need to change it somehow !. any idea or suggestion about the concept will be welcomed.
Thank you in advance.