Details
-
Change Request
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
5b5ae971045adebe40209150cf9e1cac6cc62191
Description
I often find myself creating properties in C++ that will be exposed to QML. Having a refactoring option that adds the signal for me and writes the setter would save me quite a bit of time after a while:
void Foo::setBar(int bar) { if (bar == mBar) return; mBar = bar; emit barChanged(); }
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-21787 "Create property" with Alt+Enter in Qt Creator
-
- Closed
-