void loadTable(const QString &tableName){}
connect(sender, SIGNAL(doubleClicked()) this, SLOT(loadTable(tableName)));
view_1 = new QListView(this);
model_1 = new QStringListModel(this);
private slots: void loadTable(const QString &tableName); ...........................private: void doubleClicked(const QModelIndex & index);
connect(this, SIGNAL(doubleClicked(1)), this, SLOT(loadTable(tableName))); ............................void MainWindow::loadTable(const QString &tableName){}
connect(this, SIGNAL(doubleClicked(1)), this, SLOT(loadTable(tableName)));
connect(this, SIGNAL(doubleClicked(const QModelIndex &)), this, SLOT(loadTable(const QModelIndex &)));void MainWindow::loadTable(const QModelIndex & tableIndex){}
private slots: void loadTable(const QModelIndex & tableIndex);