Are you sure that the "QAbstractTableModel::" is needed here?