diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2023-05-22 13:56:37 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2023-05-26 07:59:41 +0000 |
commit | a78720060eb71b6e647eb8864b40dc6c0db48a2b (patch) | |
tree | d3b941f30703f8b4ed71ade703e5f714e2b08957 /src/plugins/help/helpviewer.h | |
parent | 5ddde5ef0899374760c8188bc3397d6ffa12c57a (diff) |
FindFlags: Move it into Utils lib
It's going to be reused in filesearch.h API.
Change-Id: I7ef133368536a647e19949ba8623134cf078a87d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/help/helpviewer.h')
-rw-r--r-- | src/plugins/help/helpviewer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/help/helpviewer.h b/src/plugins/help/helpviewer.h index 5368c09a84..c05685794d 100644 --- a/src/plugins/help/helpviewer.h +++ b/src/plugins/help/helpviewer.h @@ -5,6 +5,8 @@ #include <coreplugin/find/textfindconstants.h> +#include <utils/filesearch.h> + #include <QFont> #include <QMenu> #include <QPrinter> @@ -52,7 +54,7 @@ public: void setActionVisible(Action action, bool visible); bool isActionVisible(Action action); - virtual bool findText(const QString &text, Core::FindFlags flags, + virtual bool findText(const QString &text, Utils::FindFlags flags, bool incremental, bool fromSearch, bool *wrapped = nullptr) = 0; bool handleForwardBackwardMouseButtons(QMouseEvent *e); |