now i am trying this way but it also seems not working
void Control::connectButton()
{
if (connect(accept,SIGNAL(clicked()),this,SLOT(checkOption(int))))
checkOption(0);
}
void Control::checkOption(int option)
{
if (option == 0)
emit buttonConnected(0);
}
void Control::connectButton()
{
if (connect(accept,SIGNAL(clicked()),this,SLOT(checkOption(int))))
checkOption(0);
}
void Control::checkOption(int option)
{
if (option == 0)
emit buttonConnected(0);
}
To copy to clipboard, switch view to plain text mode
..
connect(contrl,SIGNAL(buttonConnected(int)),training,SLOT(informRecord(int)));
..
..
connect(contrl,SIGNAL(buttonConnected(int)),training,SLOT(informRecord(int)));
..
To copy to clipboard, switch view to plain text mode
Bookmarks