File indexing completed on 2024-12-01 04:36:38

0001 /*
0002    SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "configurespellcheckingwidget.h"
0008 #include <QVBoxLayout>
0009 #include <Sonnet/ConfigWidget>
0010 
0011 ConfigureSpellCheckingWidget::ConfigureSpellCheckingWidget(QWidget *parent)
0012     : QWidget(parent)
0013     , mConfigWidget(new Sonnet::ConfigWidget(this))
0014 {
0015     auto mainLayout = new QVBoxLayout(this);
0016     mainLayout->setObjectName(QStringLiteral("mainLayout"));
0017     mainLayout->setContentsMargins({});
0018     mConfigWidget->setObjectName(QStringLiteral("mConfigWidget"));
0019     mainLayout->addWidget(mConfigWidget);
0020 }
0021 
0022 ConfigureSpellCheckingWidget::~ConfigureSpellCheckingWidget() = default;
0023 
0024 void ConfigureSpellCheckingWidget::save()
0025 {
0026     mConfigWidget->save();
0027 }
0028 
0029 void ConfigureSpellCheckingWidget::load()
0030 {
0031     // Nothing
0032 }
0033 
0034 #include "moc_configurespellcheckingwidget.cpp"