Hi,
let say i have signal like this 
	
	- void MainWindow::on_Next_clicked() 
- { 
-     if(xy<=Ewords){ 
-     getData(sfile); 
-     xy++; 
-     } 
-     else{ 
-         restartApp(); 
-     } 
-   
- } 
        void MainWindow::on_Next_clicked()
{
    if(xy<=Ewords){
    getData(sfile);
    xy++;
    }
    else{
        restartApp();
    }
}
To copy to clipboard, switch view to plain text mode 
  
and this
	
	- void MainWindow::on_mean_clicked() 
- { 
-   
-     msg.setText("over here"); 
-     msg.exec(); 
- } 
        void MainWindow::on_mean_clicked()
{
    QMessageBox msg;
    msg.setText("over here");
    msg.exec();
}
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.
				
			
Bookmarks