How do you get the name of a column from a QSqlQueryModel if all I have is the index?

Thanks!