digiKam
fcexportwindow.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 : 2019-03-27
7  * Description : a tool to export items to a local storage
8  *
9  * Copyright (C) 2006-2009 by Johannes Wienke <languitar at semipol dot de>
10  * Copyright (C) 2011-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  * Copyright (C) 2019-2020 by Maik Qualmann <metzpinguin at gmail dot com>
12  *
13  * This program is free software; you can redistribute it
14  * and/or modify it under the terms of the GNU General
15  * Public License as published by the Free Software Foundation;
16  * either version 2, or (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_FC_EXPORT_WINDOW_H
26 #define DIGIKAM_FC_EXPORT_WINDOW_H
27 
28 // Qt includes
29 
30 #include <QUrl>
31 
32 // Local includes
33 
34 #include "wstooldialog.h"
35 #include "dinfointerface.h"
36 
37 using namespace Digikam;
38 
40 {
41 
42 class FCExportWidget;
43 
49 {
50  Q_OBJECT
51 
52 public:
53 
59  explicit FCExportWindow(DInfoInterface* const iface, QWidget* const parent);
60 
64  ~FCExportWindow() override;
65 
70  void reactivate();
71 
72 private Q_SLOTS:
73 
77  void slotImageListChanged();
78 
82  void slotCopy();
83 
87  void slotTargetUrlChanged(const QUrl& target);
88 
92  void slotCopyingDone(const QUrl& from, const QUrl& to);
93 
98  void slotCopyingFinished();
99 
100  void slotFinished();
101 
102 protected:
103 
107  void closeEvent(QCloseEvent* e) override;
108 
113  void updateUploadButton();
114 
118  void restoreSettings();
119 
123  void saveSettings();
124 
125 private:
126 
127  class Private;
128  Private* const d;
129 };
130 
131 } // namespace DigikamGenericFileCopyPlugin
132 
133 #endif // DIGIKAM_FC_EXPORT_WINDOW_H
Definition: fcexportwindow.h:49
Definition: dinfointerface.h:56
Definition: wstooldialog.h:43
Definition: fccontainer.h:38
Definition: datefolderview.cpp:43