Hi am trying pass a string to a function that searches a database, as soon as a user types in the lineedit.

I am watching the linedit for any text change then want to send text in the lineedit to a function called searchfunc.

What am i missing or doing wrong.


Qt Code:
  1. connect(ui->lineEdit, SIGNAL(textChanged(QString)), ,SLOT(searchfunc(QString)));
To copy to clipboard, switch view to plain text mode