digiKam
setupmisc.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 : 2004-08-23
7  * Description : mics configuration setup tab
8  *
9  * Copyright (C) 2004 by Renchi Raju <renchi dot raju at gmail dot com>
10  * Copyright (C) 2005-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  * Copyright (C) 2017 by Simon Frei <freisim93 at gmail dot com>
12  *
13  * This program is free software; you can redistribute it
14  * and/or modify it under the terms of the GNU General
15  * Public License as published by the Free Software Foundation;
16  * either version 2, or (at your option)
17  * any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * ============================================================ */
25 
26 #ifndef DIGIKAM_SETUP_MISC_H
27 #define DIGIKAM_SETUP_MISC_H
28 
29 // Qt includes
30 
31 #include <QScrollArea>
32 
33 namespace Digikam
34 {
35 
36 class SetupMisc : public QScrollArea
37 {
38  Q_OBJECT
39 
40 public:
41 
42  enum MiscTab
43  {
44  Behaviour = 0,
47  System
48  };
49 
50 public:
51 
52  explicit SetupMisc(QWidget* const parent = nullptr);
53  ~SetupMisc() override;
54 
55  bool checkSettings();
56  void applySettings();
57 
58 private:
59 
60  void readSettings();
61 
62 private:
63 
64  class Private;
65  Private* const d;
66 };
67 
68 } // namespace Digikam
69 
70 #endif // DIGIKAM_SETUP_MISC_H
Definition: setupmisc.h:37
SetupMisc(QWidget *const parent=nullptr)
Definition: setupmisc.cpp:145
MiscTab
Definition: setupmisc.h:43
@ Grouping
Definition: setupmisc.h:46
@ Behaviour
Definition: setupmisc.h:44
@ Appearance
Definition: setupmisc.h:45
@ System
Definition: setupmisc.h:47
bool checkSettings()
Definition: setupmisc.cpp:480
void applySettings()
Definition: setupmisc.cpp:507
~SetupMisc() override
Definition: setupmisc.cpp:475
Definition: datefolderview.cpp:43