Messagelib

findbarsourceview.h
1/* SPDX-FileCopyrightText: 2011-2024 Laurent Montel <montel@kde.org>
2 *
3 * SPDX-License-Identifier: LGPL-2.0-or-later
4 */
5
6#pragma once
7
8#include <WebEngineViewer/FindBarBase>
9
10class QPlainTextEdit;
11
12namespace MessageViewer
13{
14class FindBarSourceView : public WebEngineViewer::FindBarBase
15{
17
18public:
19 explicit FindBarSourceView(QPlainTextEdit *view, QWidget *parent = nullptr);
20 ~FindBarSourceView() override;
21
22private:
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 QPlainTextEdit *const mView;
31};
32}
The FindBarBase class.
Definition findbarbase.h:25
Q_OBJECTQ_OBJECT
QObject * parent() const const
T qobject_cast(QObject *object)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:53:08 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.