KTextAddons

grammalecteresultwidget.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 "grammalecteresultjob.h"
10#include "textgrammarcheck_export.h"
11#include <TextGrammarCheck/GrammarResultWidget>
12namespace TextGrammarCheck
13{
14class GrammalecteResultJob;
15class TEXTGRAMMARCHECK_EXPORT GrammalecteResultWidget : public GrammarResultWidget
16{
17 Q_OBJECT
18public:
19 explicit GrammalecteResultWidget(QWidget *parent = nullptr);
20 ~GrammalecteResultWidget() override;
21 void checkGrammar() override;
22
23private:
24 TEXTGRAMMARCHECK_NO_EXPORT void slotCheckGrammarFinished(const QString &result);
25 TEXTGRAMMARCHECK_NO_EXPORT void slotError(GrammalecteResultJob::ErrorType error);
26};
27}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.