File indexing completed on 2025-01-05 03:53:24
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2013-11-18 0007 * Description : a tool to export images to Dropbox web service 0008 * 0009 * SPDX-FileCopyrightText: 2013 by Pankaj Kumar <me at panks dot me> 0010 * SPDX-FileCopyrightText: 2013-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_DB_WIDGET_H 0017 #define DIGIKAM_DB_WIDGET_H 0018 0019 // Qt includes 0020 0021 #include <QWidget> 0022 0023 // Local includes 0024 0025 #include "wssettingswidget.h" 0026 #include "dinfointerface.h" 0027 0028 class QLabel; 0029 class QSpinBox; 0030 class QCheckBox; 0031 class QButtonGroup; 0032 class QComboBox; 0033 class QPushButton; 0034 0035 using namespace Digikam; 0036 0037 namespace DigikamGenericDropBoxPlugin 0038 { 0039 0040 class DBWidget : public WSSettingsWidget 0041 { 0042 Q_OBJECT 0043 0044 public: 0045 0046 explicit DBWidget(QWidget* const parent, 0047 DInfoInterface* const iface, 0048 const QString& toolName); 0049 ~DBWidget() override; 0050 0051 void updateLabels(const QString& name = QString(), const QString& url = QString()) override; 0052 0053 private: 0054 0055 friend class DBWindow; 0056 }; 0057 0058 } // namespace DigikamGenericDropBoxPlugin 0059 0060 #endif // DIGIKAM_DB_WIDGET_H