File indexing completed on 2025-01-05 04:49:36

0001 /*
0002   This file is part of KOrganizer.
0003 
0004   SPDX-FileCopyrightText: 2001 Cornelius Schumacher <schumacher@kde.org>
0005 
0006   SPDX-License-Identifier: GPL-2.0-or-later
0007 */
0008 
0009 #pragma once
0010 
0011 #include <QDialog>
0012 
0013 class QButtonGroup;
0014 
0015 class ConfigDialog : public QDialog
0016 {
0017     Q_OBJECT
0018 public:
0019     explicit ConfigDialog(QWidget *parent = nullptr);
0020     ~ConfigDialog() override;
0021 
0022 protected:
0023     void load();
0024     void save();
0025 
0026 protected Q_SLOTS:
0027     void slotOk();
0028 
0029 private:
0030     QButtonGroup *const mAspectRatioGroup;
0031 };