digiKam
ftimportwindow.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 : A tool for importing images via KIO
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_WINDOW_H
25 #define DIGIKAM_FT_IMPORT_WINDOW_H
26 
27 // Qt includes
28 
29 #include <QUrl>
30 
31 // Local includes
32 
33 #include "wstooldialog.h"
34 #include "dinfointerface.h"
35 
36 class KJob;
37 
38 namespace KIO
39 {
40  class Job;
41 }
42 
43 using namespace Digikam;
44 
46 {
47 
52 {
53  Q_OBJECT
54 
55 public:
56 
62  explicit FTImportWindow(DInfoInterface* const iface, QWidget* const parent);
63 
67  ~FTImportWindow() override;
68 
69 private Q_SLOTS:
70 
74  void slotImport();
75 
80  void slotSourceAndTargetUpdated();
81 
85  void slotCopyingDone(KIO::Job* job, const QUrl& from, const QUrl& to,
86  const QDateTime& mtime, bool directory, bool renamed);
87 
92  void slotCopyingFinished(KJob* job);
93 
94 private:
95 
96  class Private;
97  Private* const d;
98 };
99 
100 } // namespace DigikamGenericFileTransferPlugin
101 
102 #endif // DIGIKAM_FT_IMPORT_WINDOW_H
Definition: dinfointerface.h:56
Definition: wstooldialog.h:43
Definition: ftexportwidget.cpp:50
Definition: datefolderview.cpp:43