File indexing completed on 2025-01-05 03:59:54
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2012-07-20 0007 * Description : scripting settings for camera interface. 0008 * 0009 * SPDX-FileCopyrightText: 2012 by Petri Damstén <damu@iki.fi> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #ifndef DIGIKAM_SCRIPTING_SETTINGS_H 0016 #define DIGIKAM_SCRIPTING_SETTINGS_H 0017 0018 // Qt includes 0019 0020 #include <QWidget> 0021 #include <QDateTime> 0022 0023 // Local settings 0024 0025 #include "downloadsettings.h" 0026 #include "digikam_export.h" 0027 0028 class KConfigGroup; 0029 0030 namespace Digikam 0031 { 0032 0033 class DIGIKAM_GUI_EXPORT ScriptingSettings : public QWidget 0034 { 0035 Q_OBJECT 0036 0037 public: 0038 0039 explicit ScriptingSettings(QWidget* const parent = nullptr); 0040 ~ScriptingSettings() override; 0041 0042 void readSettings(KConfigGroup& group); 0043 void saveSettings(KConfigGroup& group); 0044 0045 void settings(DownloadSettings* const settings) const; 0046 0047 private Q_SLOTS: 0048 0049 void slotToolTipButtonToggled(bool); 0050 0051 private: 0052 0053 class Private; 0054 Private* const d; 0055 }; 0056 0057 } // namespace Digikam 0058 0059 #endif // DIGIKAM_SCRIPTING_SETTINGS_H