Libksieve

sievetexteditorspellcheckdecorator.h
1/*
2 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-only
5*/
6
7#pragma once
8
9#include <sonnet/spellcheckdecorator.h>
10
11namespace KSieveUi
12{
13class SieveTextEdit;
14class SieveTextEditorSpellCheckDecorator : public Sonnet::SpellCheckDecorator
15{
17public:
18 explicit SieveTextEditorSpellCheckDecorator(SieveTextEdit *plainTextEdit);
19 [[nodiscard]] bool isSpellCheckingEnabledForBlock(const QString &textBlock) const override;
20
21private:
22 SieveTextEdit *const mPlainTextEdit;
23};
24}
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.