cullmann added a comment.
You can add the function as non-virtual one. Then call the right one of the d pointer, like we do for other new introduced view stuff: KTextEditor::Cursor View::maxScrollPosition() const { return d->maxScrollPositionInternal(); } Its bit ugly, as you have to do that manually but its BC. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D5656 To: pedroarthurp, dfaure, brauch, dhaumann, cullmann Cc: nalvarez, kwrite-devel, #frameworks