You must not use values for the arguments of the slot in the connect call!
(You should get an error message printed for your code, by the way.)
Try like this
connect(tableWidget, SIGNAL(cellChanged(int,int) ),
this, SIGNAL(completeChanged(int,int)));
connect(tableWidget, SIGNAL(cellChanged(int,int) ),
this, SIGNAL(completeChanged(int,int)));
To copy to clipboard, switch view to plain text mode
void completeChanged(int row, int col)
{
if (item->checkState() == ...)
...
}
void completeChanged(int row, int col)
{
QTableWidgetItem *item = tableWidget->item(row,col);
if (item->checkState() == ...)
...
}
To copy to clipboard, switch view to plain text mode
Bookmarks