File indexing completed on 2024-11-17 04:49:14

0001 /*
0002   This file is part of KOrganizer.
0003 
0004   SPDX-FileCopyrightText: 2000-2003 Cornelius Schumacher <schumacher@kde.org>
0005   SPDX-FileCopyrightText: 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
0006 
0007   SPDX-License-Identifier: GPL-2.0-or-later WITH Qt-Commercial-exception-1.0
0008 */
0009 
0010 #pragma once
0011 #include "kprefsdialog.h"
0012 
0013 class KOPrefsDialogMain : public Korganizer::KPrefsModule
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit KOPrefsDialogMain(QObject *parent, const KPluginMetaData &data);
0018 
0019 protected:
0020     void usrWriteConfig() override;
0021 
0022 private:
0023     void toggleEmailSettings(bool on);
0024     QWidget *mUserEmailSettings = nullptr;
0025 };