File indexing completed on 2025-01-19 03:53:04

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2021-03-20
0007  * Description : a tool to export images to iNaturalist web service
0008  *
0009  * SPDX-FileCopyrightText: 2021      by Joerg Lohse <joergmlpts at gmail dot com>
0010  *
0011  * SPDX-License-Identifier: GPL-2.0-or-later
0012  *
0013  * ============================================================ */
0014 
0015 #ifndef DIGIKAM_INAT_WIDGET_H
0016 #define DIGIKAM_INAT_WIDGET_H
0017 
0018 // Qt includes
0019 
0020 #include <QWidget>
0021 #include <QTabWidget>
0022 #include <QLineEdit>
0023 #include <QComboBox>
0024 
0025 // Local includes
0026 
0027 #include "wscomboboxintermediate.h"
0028 #include "ditemslist.h"
0029 #include "wssettingswidget.h"
0030 #include "dinfointerface.h"
0031 
0032 using namespace Digikam;
0033 
0034 namespace DigikamGenericINatPlugin
0035 {
0036 
0037 class INatWidget : public WSSettingsWidget
0038 {
0039     Q_OBJECT
0040 
0041 public:
0042 
0043     explicit INatWidget(QWidget* const parent,
0044                         DInfoInterface* const iface,
0045                         const QString& serviceName);
0046     ~INatWidget()                                       override;
0047 
0048     void updateLabels(const QString& name,
0049                       const QString& url = QString())   override;
0050 
0051 private:
0052 
0053     class Private;
0054     Private* const d;
0055 
0056     friend class INatWindow;
0057 };
0058 
0059 } // namespace DigikamGenericINatPlugin
0060 
0061 #endif // DIGIKAM_INAT_WIDGET_H