Hello,
i have read few forum on it but i need your help for a little problem :
i want to put a button on my window,
i declared my button on the main with :
QPushButton *bouton = new QPushButton("Connecter",ui->pushButton);
bouton->setCheckable(true);
i would like to make an action named "connection" when i click on it. So i connect the button but i don't know what i should write instead of the "???"
connect(ui->pushButton,SIGNAL(clicked()),????,SLOT(connection ()));
should i create a new file to put my function into?
Thanks