digiKam
scriptingsettings.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-07-20
7  * Description : scripting settings for camera interface.
8  *
9  * Copyright (C) 2012 by Petri Damstén <damu@iki.fi>
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_SCRIPTING_SETTINGS_H
25 #define DIGIKAM_SCRIPTING_SETTINGS_H
26 
27 // Qt includes
28 
29 #include <QWidget>
30 #include <QDateTime>
31 
32 // Local settings
33 
34 #include "downloadsettings.h"
35 #include "digikam_export.h"
36 
37 class KConfigGroup;
38 
39 namespace Digikam
40 {
41 
42 class DIGIKAM_GUI_EXPORT ScriptingSettings : public QWidget
43 {
44  Q_OBJECT
45 
46 public:
47 
48  explicit ScriptingSettings(QWidget* const parent = nullptr);
49  ~ScriptingSettings() override;
50 
51  void readSettings(KConfigGroup& group);
52  void saveSettings(KConfigGroup& group);
53 
54  void settings(DownloadSettings* const settings) const;
55 
56 private Q_SLOTS:
57 
58  void slotToolTipButtonToggled(bool);
59 
60 private:
61 
62  class Private;
63  Private* const d;
64 };
65 
66 } // namespace Digikam
67 
68 #endif // DIGIKAM_SCRIPTING_SETTINGS_H
Definition: downloadsettings.h:41
Definition: scriptingsettings.h:43
Definition: datefolderview.cpp:43