[Qt-creator] "Add Getters and Setters" in Qt Creator

Eirik Ulvik eiriku at simsurgery.com
Thu Feb 4 10:09:35 CET 2010



Den 04.02.2010 09:58, skrev John Vilburn:
>    
>> Ah, define "proper". With Qt Creator 1.3 you can get quite some way with ctrl+shift+R (Rename Symbol) and ctrl+shift+U (Find Usages). See the context menu of the code editor.
>>
>>      
> In my projects I always put one class in each file and name the file to match the class. I suspect this is a pretty common practice. It would complete the process for me if Rename Symbol had the option, when the symbol is a class name, to rename the .cpp and .h files, update the #include statements that reference the .h file, and update the .pro file.
>
> John
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>    
IMHO this would be way beyond what I want the refactoring to do. It 
should not affect actual files and project settings.

Eirik



More information about the Qt-creator-old mailing list