Add method for conversion QList<Models> to QSqlTableModel