Why not simply put a few defines into the headerfile of the DataModel?
Qt Code:
  1. #define COLUMN_FIRST_NAME 0
  2. #define COLUMN_LAST_NAME 1
  3. etc
To copy to clipboard, switch view to plain text mode