Qt Creator refactoring

For the love of God why on earth QT Creator allows refactoring of included headers?
I've made the mistake of using refactoring with prior knowledge from eclipse and didn't thought that Qt Creator is that "smart", and from refactoring only the method's signature and it's usage....I've managed to change everything from the project and from Qt itself....now I have to reinstall Qt.....good thing the project isn't that big......but still........

Refractor -> Rename symbol under cursor, I wanted to change the type of an argument of a method from QTcpSocket to QObject and I hit the replace button without reading what files it changed....afterwards I got errors in QTcpSocket header file....when I opened it everything was QObject, after I changed back again i saw that it modified every file related to included headers where the word existed...source files also :>....where was QObject...now it was QTcpSocket. Well new days....learned new things :D....but man I was nervous....i had to either reinstall components or manually change the files.