tbvMy->currentIndex()->row;
tbvMyModel->item(tbvMy->currentIndex()->row, номер_колонки)->data(Qt::Роль)->toТип();
query.prepare("update sales,cities set city_name = where id_key_sal=" + index.data(Qt::UserRole).toString();
QString text = index->data().toString();int id = index->data().toInt(); // в случае если там циферки
void QAbstractItemView::activated ( const QModelIndex & index ) [signal] This signal is emitted when the item specified by index is activated by the user. How to activate items depends on the platform; e.g., by single- or double-clicking the item, or by pressing the Return or Enter key when the item is current. See also clicked(), doubleClicked(), entered(), and pressed().
void MySlot(const QModelIndex & index)
connet(tableView, SIGNAL(activated(const QModelIndex & index)), this, SLOT(MySlot(const QModelIndex & index)));
void MyForm::MySlot(const QModelIndex & index){//а вот тут тебе и index, с помощью которого берёшь данные int num=model->data(model->index(index.row(), index.column()).toInt()));}