Did you mean this?

Qt Code:
  1. MyTableItem* MyTable::item ( int row, int column ) const
  2. {
  3. return item ( row, column );
  4. }
To copy to clipboard, switch view to plain text mode 

It compiles fine, but I get segmentation fault because of this

the source code has something like this:
Qt Code:
  1. return tableItems.value(tableIndex(row, column));
To copy to clipboard, switch view to plain text mode 

but i don't know how to transform it to my class