File indexing completed on 2024-05-12 16:27:07

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 "configureaccountwidget.h"
0008 #include "configureaccountserverwidget.h"
0009 #include <QVBoxLayout>
0010 
0011 ConfigureAccountWidget::ConfigureAccountWidget(QWidget *parent)
0012     : QWidget(parent)
0013     , mConfigureAccountServerWidget(new ConfigureAccountServerWidget(this))
0014 {
0015     auto mainLayout = new QVBoxLayout(this);
0016     mainLayout->setObjectName(QStringLiteral("mainLayout"));
0017 
0018     mConfigureAccountServerWidget->setObjectName(QStringLiteral("mConfigureAccountServerWidget"));
0019     mainLayout->addWidget(mConfigureAccountServerWidget);
0020 }
0021 
0022 ConfigureAccountWidget::~ConfigureAccountWidget() = default;
0023 
0024 void ConfigureAccountWidget::save()
0025 {
0026     mConfigureAccountServerWidget->save();
0027 }
0028 
0029 void ConfigureAccountWidget::load()
0030 {
0031     mConfigureAccountServerWidget->load();
0032 }
0033 
0034 #include "moc_configureaccountwidget.cpp"