.............
connect(checkbox_unlimited_time,SIGNAL(stateChanged()),this,SLOT(unlimited_time_off()));
debugger->setText("init");
m_ui->show();
}
void form_action_configuration::unlimited_time_on()
{
m_ui->debugger->setText("on");
}
void form_action_configuration::unlimited_time_off()
{
m_ui->debugger->setText("off");
}
Object::connect: No such signal QCheckBox::stateChanged() in action_configuration.cpp:96
Object::connect: (sender name: 'checkbox_unlimited_time')
Object::connect: (receiver name: 'form_action_configuration')
Próbowałem też:
stateChanged(0)
Ale też nie działało.
Co zrobić, aby działało?