Possible Duplicate:
What are access specifiers? Should I inherit with private, protected or public?
While going through the Qt API documentation, I came across protected types. What are protected types in C++?
I found an example of protected types mentioned in the QT documentation.
“Protected types” are nested typedefs and nested classes and templates and enums (i.e. nested types) that are protected, that is, accessible only in scope of the member functions of the class and member functions of derived classes (and friends, of course).