added signal and Q_OBJECT macro to support signals for streaming