I jus debugged this piece of code and the compiler said no signal generated..
here topic is QlineEdit and i wanna see if the line changes so i can save the values of line to my variable...

Qt Code:
  1. if( connect(&topic,SIGNAL(textChanged(QString &)),this,SLOT(setText(QString &))))
  2. {topicValue = topic.text();}
  3.  
  4. if( connect(&date,SIGNAL(textChanged(QString &)),this,SLOT(setText(QString &))))
  5. {dateValue = date.text();}
  6.  
  7. if( connect(&data,SIGNAL(textChanged(QString &)),this,SLOT(setText(QString &))))
  8. {dataValue = data.text();
  9. qDebug() << dateValue;
  10.  
  11. }
To copy to clipboard, switch view to plain text mode