Qt object relational model