I think the function must have QIndex in the header:
this works for me
connect(fileView, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(selectFiles(QModelIndex)));

void nutshellqt::selectFiles(const QModelIndex& index)
{

}

make sure the function is in the header file under public slots

public slots:
void selectFiles(const QModelIndex& index);