summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicstextedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicstextedit.cpp')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicstextedit.cpp52
1 files changed, 0 insertions, 52 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicstextedit.cpp b/src/declarative/graphicsitems/qmlgraphicstextedit.cpp
index b691304..a6b5ae0 100644
--- a/src/declarative/graphicsitems/qmlgraphicstextedit.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicstextedit.cpp
@@ -686,29 +686,6 @@ Qt::TextInteractionFlags QmlGraphicsTextEdit::textInteractionFlags() const
}
/*!
- Returns the cursor for the point at the given \a pos on the
- text edit.
-*/
-QTextCursor QmlGraphicsTextEdit::cursorForPosition(const QPoint &pos) const
-{
- Q_D(const QmlGraphicsTextEdit);
- return d->control->cursorForPosition(pos);
-}
-
-/*!
- Returns the rectangle where the given text \a cursor is rendered
- within the text edit.
-*/
-QRect QmlGraphicsTextEdit::cursorRect(const QTextCursor &cursor) const
-{
- Q_D(const QmlGraphicsTextEdit);
- if (cursor.isNull())
- return QRect();
-
- return d->control->cursorRect(cursor).toRect();
-}
-
-/*!
Returns the rectangle where the text cursor is rendered
within the text edit.
*/
@@ -720,35 +697,6 @@ QRect QmlGraphicsTextEdit::cursorRect() const
/*!
- Sets the text cursor for the text edit to the given \a cursor.
-*/
-void QmlGraphicsTextEdit::setTextCursor(const QTextCursor &cursor)
-{
- Q_D(QmlGraphicsTextEdit);
- d->control->setTextCursor(cursor);
-}
-
-/*!
- Returns the text cursor for the text edit.
-*/
-QTextCursor QmlGraphicsTextEdit::textCursor() const
-{
- Q_D(const QmlGraphicsTextEdit);
- return d->control->textCursor();
-}
-
-/*!
-Moves the cursor by performing the given \a operation.
-
-If \a mode is QTextCursor::KeepAnchor, the cursor selects the text it moves over. This is the same effect that the user achieves when they hold down the Shift key and move the cursor with the cursor keys.
-*/
-void QmlGraphicsTextEdit::moveCursor(QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode)
-{
- Q_D(QmlGraphicsTextEdit);
- d->control->moveCursor(operation, mode);
-}
-
-/*!
\overload
Handles the given \a event.
*/