digiKam
intthemeparameter.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 : 2006-04-04
7  * Description : a tool to generate HTML image galleries
8  *
9  * Copyright (C) 2006-2010 by Aurelien Gateau <aurelien dot gateau at free dot fr>
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) 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_INT_THEME_PARAMETER_H
25 #define DIGIKAM_INT_THEME_PARAMETER_H
26 
27 // Local includes
28 
29 #include "abstractthemeparameter.h"
30 
32 {
33 
38 {
39 public:
40 
41  explicit IntThemeParameter();
42  ~IntThemeParameter() override;
43 
44  void init(const QByteArray& internalName, const KConfigGroup* configGroup) override;
45  QWidget* createWidget(QWidget* parent, const QString& value) const override;
46  QString valueFromWidget(QWidget*) const override;
47 
48 private:
49 
50  class Private;
51  Private* const d;
52 };
53 
54 } // namespace DigikamGenericHtmlGalleryPlugin
55 
56 #endif // DIGIKAM_INT_THEME_PARAMETER_H
Definition: abstractthemeparameter.h:42
QByteArray internalName() const
Definition: abstractthemeparameter.cpp:71
Definition: intthemeparameter.h:38
~IntThemeParameter() override
Definition: intthemeparameter.cpp:59
IntThemeParameter()
Definition: intthemeparameter.cpp:54
QString valueFromWidget(QWidget *) const override
Definition: intthemeparameter.cpp:82
QWidget * createWidget(QWidget *parent, const QString &value) const override
Definition: intthemeparameter.cpp:72
void init(const QByteArray &internalName, const KConfigGroup *configGroup) override
Definition: intthemeparameter.cpp:64
qulonglong value
Definition: itemviewutilities.cpp:592
Definition: galleryconfig.cpp:30