Hi guys. I have a small trouble with signal/slot in Qt. I have an class wich has public slot:
void doSomething();
In constructor of this class i do:
this->connect( ui->textFrom, SIGNAL(returnPressed()),
               this, SLOT(doSomething()) );
I have QLineEdit - textFrom object.
../moc_mainwindow.cpp:66: undefined reference to `MainWindow::doSomething()':-1: error: collect2: ld returned 1 exit status
Help me, please (: