Libksieve

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

KDE's Doxygen guidelines are available online.