digiKam
fcexportwidget.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_WIDGET_H
26 #define DIGIKAM_FC_EXPORT_WIDGET_H
27 
28 // Qt includes
29 
30 #include <QWidget>
31 #include <QUrl>
32 
33 // Local includes
34 
35 #include "dinfointerface.h"
36 #include "fccontainer.h"
37 #include "ditemslist.h"
38 
39 using namespace Digikam;
40 
42 {
43 
44 class FCExportWidget: public QWidget
45 {
46  Q_OBJECT
47 
48 public:
49 
55  explicit FCExportWidget(DInfoInterface* const iface, QWidget* const parent);
56 
60  ~FCExportWidget() override;
61 
65  DItemsList* imagesList() const;
66 
70  QUrl targetUrl() const;
71 
75  FCContainer getSettings() const;
76 
80  void setSettings(const FCContainer& settings);
81 
82 private Q_SLOTS:
83 
84  void slotLabelUrlChanged();
85 
86  void slotFileCopyButtonChanged(bool enabled);
87 
88 Q_SIGNALS:
89 
90  void signalTargetUrlChanged(const QUrl& target);
91 
92 private:
93 
94  class Private;
95  Private* const d;
96 };
97 
98 } // namespace DigikamGenericFileCopyPlugin
99 
100 #endif // DIGIKAM_FC_EXPORT_WIDGET_H
Definition: fccontainer.h:41
Definition: fcexportwidget.h:45
void signalTargetUrlChanged(const QUrl &target)
Definition: dinfointerface.h:56
Definition: ditemslist.h:196
Definition: fccontainer.h:38
Definition: datefolderview.cpp:43