diff options
author | Jesper K. Pedersen <jesper.pedersen@kdab.com> | 2013-05-03 08:01:16 +0200 |
---|---|---|
committer | Jesper K. Pedersen <jesper.pedersen@kdab.com> | 2013-05-07 15:50:38 +0200 |
commit | ae935ab0de4213478b09affaa13b426877cb4b9f (patch) | |
tree | 85b28f91790c87d1a1180452ae7dcf254983cb8f | |
parent | 1962097c8b2ca956624a291d2501926e1ec6849b (diff) |
find doesn't do anything and has been removed from QtC master
Change-Id: I38a5b549ed2af106b4f8c3e91ae28581734e9a7d
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
-rw-r--r-- | objects/texteditor.cpp | 6 | ||||
-rw-r--r-- | objects/texteditor.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/objects/texteditor.cpp b/objects/texteditor.cpp index e919802..3557476 100644 --- a/objects/texteditor.cpp +++ b/objects/texteditor.cpp @@ -8,12 +8,6 @@ TextEditor::TextEditor(QObject *parent) : { } -int TextEditor::find(const QString &string) const -{ - // Doesn't seem to do much. - return editor()->find(string); -} - int TextEditor::position(Enums::PositionOperation posOp, int at) const { return editor()->position( static_cast< ::TextEditor::ITextEditor::PositionOperation>(posOp), at); diff --git a/objects/texteditor.h b/objects/texteditor.h index 6900169..faea155 100644 --- a/objects/texteditor.h +++ b/objects/texteditor.h @@ -16,7 +16,6 @@ public: explicit TextEditor(QObject *parent = 0); public slots: - int find(const QString &string) const; int position(Enums::PositionOperation posOp = Enums::Current, int at = -1) const; QPoint convertPosition(int pos) const; QRect cursorRect(int pos = -1) const; |