Hi,

I'm rewriting my Sailfish OS apps with a C++ backend by following the 
encapsulation rules.
This implies that I need a get/set for each C++ class so I searched online if 
QtCreator cannot generate these automatically and it should do it: 
https://stackoverflow.com/questions/21142940/how-to-make-getter-and-setter-methods-in-qt-creator-automatically
However, the Sailfish OS QtCreator doesn't seem to do this when I press ALT + 
ENTER on a member variable, the same for the Refactor option.

Is it disabled or am I doing something wrong?
Writing each setter/getter myself takes a lot of time...

Kind regards,
Dylan Van Assche
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to