digiKam
setupversioning.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 : 2010-08-06
7  * Description : setup tab for image versioning
8  *
9  * Copyright (C) 2010 by Martin Klapetek <martin dot klapetek at gmail dot com>
10  * Copyright (C) 2012-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_SETUP_VERSIONING_H
26 #define DIGIKAM_SETUP_VERSIONING_H
27 
28 // Qt includes
29 
30 #include <QScrollArea>
31 
32 namespace Digikam
33 {
34 
35 class SetupVersioning : public QScrollArea
36 {
37  Q_OBJECT
38 
39 public:
40 
41  explicit SetupVersioning(QWidget* const parent = nullptr);
42  ~SetupVersioning() override;
43 
44  void applySettings();
45 
46 private:
47 
48  void readSettings();
49 
50 private Q_SLOTS:
51 
52  void showNonDestructiveInformation();
53  void showFormatInformation();
54  void showSnapshotInformation();
55  void showViewInformation();
56  void enableToggled(bool);
57 
58 private:
59 
60  class Private;
61  Private* const d;
62 };
63 
64 } // namespace Digikam
65 
66 #endif // DIGIKAM_SETUP_VERSIONING_H
Definition: setupversioning.h:36
void applySettings()
Definition: setupversioning.cpp:384
SetupVersioning(QWidget *const parent=nullptr)
Definition: setupversioning.cpp:110
~SetupVersioning() override
Definition: setupversioning.cpp:379
Definition: datefolderview.cpp:43