Hi all,
I see I could have clarified the structure of the method calls.
The following happens:
* The user clicks a button in the UI, which connects to the on_actionStart_Monitoring_All_Nodes_triggered() and it's "Stop" counterpart.
* Either of these methods loops through all the Node elements in the system and calls the Sync::setMonitoring() method for each of these.
* In the setMonitoring() method, the request is built and posted to the server.
For clarification on how the QNetworkAccessManager is initiated I added the constructor for Sync. I also added the slot that the finished() signal from the QNetworkReply connects to, for completeness sake.
I hope this makes it a bit easier to read.
It's sometimes hard to write up these parts out of their context. For me at least .
Looking forward to your thoughts.
Tim
Bookmarks