CodePudding user response:
The moderator's adult, help ah, I was the feelingCodePudding user response:
Than, please helpCodePudding user response:
Class A {public: protected: int textCursor const () {return I; } private: int I; }; Class B: public A {public: int textCursor const () {return A: : textCursor (); }}; Int main (int arg c, char * argv []) {B B; Int I=b.t extCursor (); return 0; } use this method inherited QTextEdit textCursor functionCodePudding user response:
Inside the QT3 didn't find QTextCursor this class, and the function of the return type is QTextCursor type, how to doCodePudding user response:
Question and answer period for almost a year, and I won't