digiKam
maintenancedlg.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2012-01-30
7  * Description : maintenance dialog
8  *
9  * Copyright (C) 2012-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_MAINTENANCE_DLG_H
25 #define DIGIKAM_MAINTENANCE_DLG_H
26 
27 // Qt includes
28 
29 #include <QDialog>
30 
31 // Local includes
32 
33 #include "digikam_export.h"
34 #include "maintenancesettings.h"
35 
36 namespace Digikam
37 {
38 
39 class MaintenanceDlg : public QDialog
40 {
41  Q_OBJECT
42 
43 public:
44 
45  explicit MaintenanceDlg(QWidget* const parent = nullptr);
46  ~MaintenanceDlg() override;
47 
49 
50 private Q_SLOTS:
51 
52  void slotItemToggled(int index, bool b);
53  void slotMetadataSetup();
54  void slotQualitySetup();
55  void slotOk();
56  void slotHelp();
57 
58 private:
59 
60  void writeSettings();
61  void readSettings();
62 
63 private:
64 
65  class Private;
66  Private* const d;
67 };
68 
69 } // namespace Digikam
70 
71 #endif // DIGIKAM_MAINTENANCE_DLG_H
Definition: maintenancedlg.h:40
~MaintenanceDlg() override
Definition: maintenancedlg.cpp:422
MaintenanceSettings settings() const
Definition: maintenancedlg.cpp:433
MaintenanceDlg(QWidget *const parent=nullptr)
Definition: maintenancedlg.cpp:189
Definition: maintenancesettings.h:44
Definition: datefolderview.cpp:43