Hi all!

I'm a beginner in QT.
I've a QTableWidget (name: tmp_table), and i putting Items on it by:

Qt Code:
  1. QTableWidgetItem *newItem1 = new QTableWidgetItem(tr("%1").arg(query.value(1).toString()));
  2. tmp_table->setItem(row, col++, newItem1);
To copy to clipboard, switch view to plain text mode 

Items are editable (on click or press F2).

I would like to call ex. some_function() (ex. save value in the database) when user end editing a datan int to a QTableWidgetItem.
How can I do it?

Thaks a lot!