I have a tableview and I'm trying to get onactivated to work but it does not fire and I get:
Object::connect: No such slot MainWindowImpl::rowActived(QModelIndex)

This is my code:
mainwindowimpl.h :
Qt Code:
  1. class MainWindowImpl : public QMainWindow, public Ui::MainWindow
  2. {
  3. Q_OBJECT
  4. .private slots:
  5. void rowActivated(const QModelIndex &);
To copy to clipboard, switch view to plain text mode 
mainwindowimpl.cpp in constructor:
Qt Code:
  1. connect(table, SIGNAL(activated(QModelIndex)), this, SLOT(rowActived(QModelIndex)));
To copy to clipboard, switch view to plain text mode 
The event
Qt Code:
  1. void MainWindowImpl::rowActivated(const QModelIndex &index)
  2. {
  3. qDebug() << "activate" << index.row();
  4. }
To copy to clipboard, switch view to plain text mode 

Putting the const and & into the connect() call makes no difference, besides, all other events fire without the const and & in their connects.
No idea what this is. Help appreciated.