Hi,
the Object analogCheck emits a signal finished(), when the analog check has finished.
The object is created multiple times (up to 20x).
What is the best way to collect all fnished() signals from all created "analogCheck *dev = new analogCheck(pDev, this)".
For me i would connect all finished() signals to the same slot and increment a counter with each calling and when
the counter reaches the counter of created objects i collected all finished() signals.
Is there a better way?
QPointer<deviceAnalog> pDev = new deviceAnalog(channel, serial, devType, this);
analogCheck *dev = new analogCheck(pDev, this);
QPointer<deviceAnalog> pDev = new deviceAnalog(channel, serial, devType, this);
analogCheck *dev = new analogCheck(pDev, this);
To copy to clipboard, switch view to plain text mode
Bookmarks