Hi,
let say i have signal like this
Qt Code:
  1. void MainWindow::on_Next_clicked()
  2. {
  3. if(xy<=Ewords){
  4. getData(sfile);
  5. xy++;
  6. }
  7. else{
  8. restartApp();
  9. }
  10.  
  11. }
To copy to clipboard, switch view to plain text mode 

and this

Qt Code:
  1. void MainWindow::on_mean_clicked()
  2. {
  3.  
  4. msg.setText("over here");
  5. msg.exec();
  6. }
To copy to clipboard, switch view to plain text mode 

now i want to send amount of xy every time i click on next button (on_Next_clicked) without calling mean button(on_mean_clicked)
i will be grateful for help.