digiKam
systemsettings.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 : 2020-07-26
7  * Description : System settings container.
8  *
9  * Copyright (C) 2020 by Maik Qualmann <metzpinguin 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_SYSTEM_SETTINGS_H
25 #define DIGIKAM_SYSTEM_SETTINGS_H
26 
27 // Qt includes
28 
29 #include <QString>
30 
31 // Local includes
32 
33 #include "digikam_export.h"
34 
35 namespace Digikam
36 {
37 
38 class DIGIKAM_EXPORT SystemSettings
39 {
40 
41 public:
42 
43  explicit SystemSettings(const QString& name);
44  ~SystemSettings();
45 
46 public:
47 
48  void readSettings();
49  void saveSettings();
50 
51 public:
52 
54 
56 
58 
60 
61 private:
62 
63  QString m_appName;
64 };
65 
66 } // namespace Digikam
67 
68 #endif // DIGIKAM_SYSTEM_SETTINGS_H
Definition: systemsettings.h:39
bool useHighDpiScaling
Definition: systemsettings.h:53
bool useHighDpiPixmaps
Definition: systemsettings.h:55
bool enableLogging
Definition: systemsettings.h:57
bool disableOpenCL
Definition: systemsettings.h:59
Definition: datefolderview.cpp:43