Hello everyone!!

I'm using Qt 3.7 .
I have a class that inherits QTextEdit and I would like to get the position of the text cursor (x() and y()).
I can't use textCursor() function because it's protected.
Do you have any suggestions?