File indexing completed on 2025-01-05 03:59:53

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2011-08-12
0007  * Description : advanced settings for camera interface.
0008  *
0009  * SPDX-FileCopyrightText: 2011-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_ADVANCED_SETTINGS_H
0016 #define DIGIKAM_ADVANCED_SETTINGS_H
0017 
0018 // Qt includes
0019 
0020 #include <QWidget>
0021 #include <QDateTime>
0022 
0023 // Local settings
0024 
0025 #include "downloadsettings.h"
0026 
0027 class KConfigGroup;
0028 
0029 namespace Digikam
0030 {
0031 
0032 class AdvancedSettings : public QWidget
0033 {
0034     Q_OBJECT
0035 
0036 public:
0037 
0038     explicit AdvancedSettings(QWidget* const parent = nullptr);
0039     ~AdvancedSettings() override;
0040 
0041     void readSettings(KConfigGroup& group);
0042     void saveSettings(KConfigGroup& group);
0043 
0044     DownloadSettings settings() const;
0045 
0046 Q_SIGNALS:
0047 
0048     void signalDownloadNameChanged();
0049 
0050 private:
0051 
0052     class Private;
0053     Private* const d;
0054 };
0055 
0056 } // namespace Digikam
0057 
0058 #endif // DIGIKAM_ADVANCED_SETTINGS_H