Is it possible to hide C ++ private fields / methods with AutoComplete Popup on QtCreator?
However I noticed, what is the same problem on QtCreator3.0 still exists? Is there any solution for this problem? Any help would be appreciated. Thanks in advance.
[Example code]
// SomeClass.h class SomeClass {public: Zero method A (); Private: Int Field B; Zero method B (); } //main.cpp int main () {SomeClass obj; _______________bb Field B | & Lt; - Popup window is displayed when '.' The key is entered. Laws () | // I want to hide private area B and methodB from popup. MethodB () | // if possible. | _____________ | Return 0;
}
Take a look at
< P> It's just that you have a 'Personal Member Indicator' for a structure / class that defines everyone who is hidden from your class user. And it is a member who is really personal, the rest should be in public or heritage.And it was created to reduce time compilation with side effects of having a clear interface.
Cheers
Comments
Post a Comment