KPimTextEdit

richtextcomposeremailquotedecorator.h
1/*
2 SPDX-FileCopyrightText: 2015-2025 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "kpimtextedit_export.h"
10#include <memory>
11#include <sonnet/spellcheckdecorator.h>
12namespace KPIMTextEdit
13{
15/**
16 * @brief The RichTextComposerEmailQuoteDecorator class
17 * @author Laurent Montel <montel@kde.org>
18 */
19class KPIMTEXTEDIT_EXPORT RichTextComposerEmailQuoteDecorator : public Sonnet::SpellCheckDecorator
20{
22public:
23 explicit RichTextComposerEmailQuoteDecorator(RichTextComposer *textEdit);
24 ~RichTextComposerEmailQuoteDecorator() override;
25
26protected:
27 [[nodiscard]] bool isSpellCheckingEnabledForBlock(const QString &blockText) const override;
28
29private:
30 class RichTextComposerEmailQuoteDecoratorPrivate;
31 std::unique_ptr<RichTextComposerEmailQuoteDecoratorPrivate> const d;
32};
33}
The RichTextComposer class.
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:12 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.