KTextAddons

languagetoolresultwidget.h
1/*
2 SPDX-FileCopyrightText: 2019-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "textgrammarcheck_export.h"
10#include <TextGrammarCheck/GrammarResultWidget>
11namespace TextGrammarCheck
12{
13class LanguageToolComboBox;
14class LanguageToolUpdateComboBox;
15class TEXTGRAMMARCHECK_EXPORT LanguageToolResultWidget : public GrammarResultWidget
16{
17 Q_OBJECT
18public:
19 explicit LanguageToolResultWidget(QWidget *parent = nullptr);
20 ~LanguageToolResultWidget() override;
21 void checkGrammar() override;
22
23protected:
24 void addExtraWidget() override;
25
26private:
27 Q_DISABLE_COPY(LanguageToolResultWidget)
28 TEXTGRAMMARCHECK_NO_EXPORT void slotCheckGrammarFinished(const QString &result);
29 TEXTGRAMMARCHECK_NO_EXPORT void slotError(const QString &str);
30 LanguageToolComboBox *mLanguageToolComboBox = nullptr;
31 LanguageToolUpdateComboBox *const mLanguageToolUpdateCombobox;
32};
33}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.