File indexing completed on 2025-01-19 03:59:46

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2020-27-07
0007  * Description : system settings widget
0008  *
0009  * SPDX-FileCopyrightText: 2020-2023 by Maik Qualmann <metzpinguin at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_SYSTEM_SETTINGS_WIDGET_H
0016 #define DIGIKAM_SYSTEM_SETTINGS_WIDGET_H
0017 
0018 // Qt includes
0019 
0020 #include <QWidget>
0021 
0022 // Local includes
0023 
0024 #include "digikam_export.h"
0025 
0026 namespace Digikam
0027 {
0028 
0029 class DIGIKAM_EXPORT SystemSettingsWidget : public QWidget
0030 {
0031     Q_OBJECT
0032 
0033 public:
0034 
0035     explicit SystemSettingsWidget(QWidget* const parent);
0036     ~SystemSettingsWidget() override;
0037 
0038 public:
0039 
0040     void readSettings();
0041     void saveSettings();
0042 
0043 private Q_SLOTS:
0044 
0045     void slotBinaryDownload();
0046 
0047 private:
0048 
0049     class Private;
0050     Private* const d;
0051 };
0052 
0053 } // namespace Digikam
0054 
0055 #endif // DIGIKAM_SYSTEM_SETTINGS_WIDGET_H