The message about "no matching signal" is a bit odd, as the thing it is complaining about is a slot. You need to ensure that qmake has run moc over the HEADERS. Also, this code:
this,
SLOT(on_action_item_dbclicked
(const QModelIndex &)));
this,
SLOT(on_action_item_dbclicked
(const QModelIndex &)));
connect(ui->tree, SIGNAL(doubleClicked(QModelIndex)),
this, SLOT(on_action_item_dbclicked(const QModelIndex &)));
connect(ui->list, SIGNAL(doubleClicked(QModelIndex)),
this, SLOT(on_action_item_dbclicked(const QModelIndex &)));
To copy to clipboard, switch view to plain text mode
Should probably read
connect(ui->tree, SIGNAL(doubleClicked(QModelIndex)),
this, SLOT(on_action_item_dbclicked(QModelIndex)));
connect(ui->list, SIGNAL(doubleClicked(QModelIndex)),
this, SLOT(on_action_item_dbclicked(QModelIndex)));
To copy to clipboard, switch view to plain text mode
Bookmarks