Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QTextCursor QTextEdit::textCursor (  )  const [inherited]

Returns a copy of the QTextCursor that represents the currently visible cursor. Note that changes on the returned cursor do not affect QTextEdit's cursor; use setTextCursor() to update the visible cursor.

Definition at line 797 of file qtextedit.cpp.

Referenced by MainWindow::createLetter(), MainWindow::highlightListItems(), MainWindow::insertCalendar(), insertCompletion(), insertFromMimeData(), MainWindow::insertList(), MainWindow::newLetter(), MainWindow::selectWord(), MainWindow::showList(), MainWindow::showTable(), and textUnderCursor().

{
    Q_D(const QTextEdit);
    return d->control->textCursor();
}


Generated by  Doxygen 1.6.0   Back to index