structure modified and move to qt new singal and slot mechenism