Qt信号与槽的问题,求高手指教
编译通过,运行后 出错提示:[root@heiying edu_client]# ./edu_client Object::connect: No such signal QRadioButton::toggled(studentRadioButton->isChecked())根据void toggled ( bool checked ) 这个定义,这个样应该可以啊???请高手指教请问要如何修改程序 ?????下面是部分程序:QRadioButton *studentRadioButton = new QRadioButton("学生", this);studentRadioButton->setChecked (true);connect(studentRadioButton, SIGNAL(toggled(studentRadioButton->isChecked())), this, SLOT(setStudentFlag()));void Login::setStudentFlag(void){ QMessageBox::about(this,"about","11111");}Qt 4.8.2手册中QAbstractButton 类 (QRadioButton Inherits QAbstractButton)Signalsvoid clicked ( bool checked = false ) void pressed () void released () void toggled ( bool checked )