Hi ChrisW67,
Well, CComListener wouldn't be purely abstract. I would like to put some basic functionality in it like connecting to a serial port object and handling stuff when a port is opened / closed / deleted / .... Some of this 'stuff' involves responding to signals of the serial port object.
But your suggestion leads me to a viable option : I could put the interface in an abstract class as you said, and define a member that is a QObject. This member could then interface to the serial port object and use callbacks to CComListener when it receives a signal from the serial port object. I'll give it a try.
Thanks,
Marc
P.S. Still, it would be great if it just worked plain and simple with signals and slots in the interface definition.
Bookmarks