added signal-slot to CPP and QML