I want to get the first visible textblock in the textedit. There is a function for that, but it is protected:

http://qt-project.org/doc/qt-4.8/qpl...stVisibleBlock

why is it protected? How do i do this?