1、信号槽中的信号 connect(ui.curplaypos, SIGNAL(sliderMoved(int)), this, SLOT(playMoved(int))); sliderMoved(int)中是不能传形参的,只能传类型