I used the QMap iterator method to access the values and then insert them into the table .