digiKam
ftimportwidget.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 : 04-10-2009
7  * Description : main widget of the import dialog
8  *
9  * Copyright (C) 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  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_FT_IMPORT_WIDGET_H
25 #define DIGIKAM_FT_IMPORT_WIDGET_H
26 
27 // Qt includes
28 
29 #include <QUrl>
30 #include <QWidget>
31 
32 // Local includes
33 
34 #include "dinfointerface.h"
35 #include "ditemslist.h"
36 
37 using namespace Digikam;
38 
40 {
41 
45 class FTImportWidget: public QWidget
46 {
47  Q_OBJECT
48 
49 public:
50 
57  explicit FTImportWidget(QWidget* const parent, DInfoInterface* const iface);
58 
62  ~FTImportWidget() override;
63 
70  QList<QUrl> sourceUrls() const;
71 
77  DItemsList* imagesList() const;
78 
84  QWidget* uploadWidget() const;
85 
86 private Q_SLOTS:
87 
88  void slotShowImportDialogClicked(bool);
89 
90 private:
91 
92  class Private;
93  Private* const d;
94 };
95 
96 } // namespace DigikamGenericFileTransferPlugin
97 
98 #endif // DIGIKAM_FT_IMPORT_WIDGET_H
Definition: dinfointerface.h:56
Definition: ditemslist.h:196
Definition: ftexportwidget.cpp:50
Definition: datefolderview.cpp:43