File indexing completed on 2025-01-05 03:53:42
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2011-04-12 0007 * Description : A tool to export items to Rajce web service 0008 * 0009 * SPDX-FileCopyrightText: 2011 by Lukas Krejci <krejci.l at centrum dot cz> 0010 * SPDX-FileCopyrightText: 2011-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_RAJCE_WINDOW_H 0017 #define DIGIKAM_RAJCE_WINDOW_H 0018 0019 // Local includes 0020 0021 #include "wstooldialog.h" 0022 #include "dinfointerface.h" 0023 0024 using namespace Digikam; 0025 0026 namespace DigikamGenericRajcePlugin 0027 { 0028 0029 class RajceWidget; 0030 0031 class RajceWindow : public WSToolDialog 0032 { 0033 Q_OBJECT 0034 0035 public: 0036 0037 explicit RajceWindow(DInfoInterface* const iface, QWidget* const parent = nullptr); 0038 ~RajceWindow() override; 0039 0040 void reactivate(); 0041 0042 protected: 0043 0044 void closeEvent(QCloseEvent* e) override; 0045 0046 private Q_SLOTS: 0047 0048 void slotSetUploadButtonEnabled(bool); 0049 void slotFinished(); 0050 0051 private: 0052 0053 RajceWidget* m_widget; 0054 }; 0055 0056 } // namespace DigikamGenericRajcePlugin 0057 0058 #endif // DIGIKAM_RAJCE_WINDOW_H