summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/basefilefind.h
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2010-09-02 16:13:33 +0200
committerdt <qtc-committer@nokia.com>2010-09-02 16:13:46 +0200
commitfaba06b553a9af352c5a033ce5e0e725a6160f07 (patch)
tree00c814afcc6724452778b35ff7c1771bf490677b /src/plugins/texteditor/basefilefind.h
parentf9504cd3c6f36735f9d44fdd166aafe240015d90 (diff)
downloadqt-creator-faba06b553a9af352c5a033ce5e0e725a6160f07.tar.gz
Search Dialog: Make canceling possible
Task-Nr: QTCREATORBUG-2243
Diffstat (limited to 'src/plugins/texteditor/basefilefind.h')
-rw-r--r--src/plugins/texteditor/basefilefind.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/texteditor/basefilefind.h b/src/plugins/texteditor/basefilefind.h
index 1a26154d40..b00c6a110c 100644
--- a/src/plugins/texteditor/basefilefind.h
+++ b/src/plugins/texteditor/basefilefind.h
@@ -62,6 +62,8 @@ public:
explicit BaseFileFind(Find::SearchResultWindow *resultWindow);
bool isEnabled() const;
+ bool canCancel() const;
+ void cancel();
bool isReplaceSupported() const { return true; }
void findAll(const QString &txt, Find::FindFlags findFlags);
void replaceAll(const QString &txt, Find::FindFlags findFlags);