KTextAddons

languagetoolconfigwidget.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 <QWidget>
11class QCheckBox;
12class QLineEdit;
13class QLabel;
14namespace TextGrammarCheck
15{
16class LanguageToolComboBox;
17class LanguageToolUpdateComboBox;
18class TEXTGRAMMARCHECK_EXPORT LanguageToolConfigWidget : public QWidget
19{
20 Q_OBJECT
21public:
22 explicit LanguageToolConfigWidget(QWidget *parent = nullptr);
23 ~LanguageToolConfigWidget() override;
24 void loadSettings();
25 void saveSettings();
26
27Q_SIGNALS:
28 void resetValue();
29
30private:
31 Q_DISABLE_COPY(LanguageToolConfigWidget)
32 TEXTGRAMMARCHECK_NO_EXPORT void updateWidgets(bool enabled);
33 TEXTGRAMMARCHECK_NO_EXPORT void slotResetValue();
34 QCheckBox *const mUseLocalInstance;
35 QLineEdit *const mInstancePath;
36 QLabel *const mInstancePathLabel;
37 LanguageToolComboBox *const mLanguageToolCombobox;
38 LanguageToolUpdateComboBox *const mLanguageToolUpdateCombobox;
39};
40}
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.