Messagelib

findbarsourceview.h
1 /* SPDX-FileCopyrightText: 2011-2023 Laurent Montel <[email protected]>
2  *
3  * SPDX-License-Identifier: LGPL-2.0-or-later
4  */
5 
6 #pragma once
7 
8 #include <WebEngineViewer/FindBarBase>
9 
10 class QPlainTextEdit;
11 
12 namespace MessageViewer
13 {
14 class FindBarSourceView : public WebEngineViewer::FindBarBase
15 {
16  Q_OBJECT
17 
18 public:
19  explicit FindBarSourceView(QPlainTextEdit *view, QWidget *parent = nullptr);
20  ~FindBarSourceView() override;
21 
22 private:
23  FindBarSourceView(QWidget *parent) = delete;
24 
25  void clearSelections() override;
26  void searchText(bool backward, bool isAutoSearch) override;
27  void updateHighLight(bool) override;
28  void updateSensitivity(bool) override;
29 
30 private:
31  QPlainTextEdit *const mView;
32 };
33 }
Q_OBJECTQ_OBJECT
The FindBarBase class.
Definition: findbarbase.h:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 4 2023 03:56:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.