Trying to implement a good structure

at the moment partially works, but fsr cannot connect slot
onDataAvailable