KPimTextEdit

inserthtmleditor.h
1/*
2 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5
6*/
7
8#pragma once
9
10#include <QWidget>
11
12#include <KSyntaxHighlighting/Repository>
13#include <TextCustomEditor/PlainTextEditor>
14
15namespace TextCustomEditor
16{
17class TextEditorCompleter;
18}
19namespace KPIMTextEdit
20{
21class InsertHtmlEditor : public TextCustomEditor::PlainTextEditor
22{
23 Q_OBJECT
24public:
25 explicit InsertHtmlEditor(QWidget *parent = nullptr);
26 ~InsertHtmlEditor() override;
27
28protected:
29 void keyPressEvent(QKeyEvent *e) override;
30
31private:
32 TextCustomEditor::TextEditorCompleter *const mTextEditorCompleter;
34};
35}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:45 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.