Auto-generate setters/getters with QTCreator?
Do a right click on your member then Refactor
then Generate Getter and Setter member function
and you're done :)
On Qt Creator 3.2.x, create the member, then click on it and press alt+Enter :
Position your text cursor at the member variable in class definition, then hit Alt+Enter.