digiKam
fcthread.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 : file copy thread.
8  *
9  * Copyright (C) 2012 by Smit Mehta <smit dot meh at gmail dot com>
10  * Copyright (C) 2012-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_THREAD_H
26 #define DIGIKAM_FC_THREAD_H
27 
28 // Qt includes
29 
30 #include <QUrl>
31 
32 // Local includes
33 
34 #include "actionthreadbase.h"
35 #include "fccontainer.h"
36 
37 using namespace Digikam;
38 
40 {
41 
42 class FCThread : public ActionThreadBase
43 {
44  Q_OBJECT
45 
46 public:
47 
48  explicit FCThread(QObject* const parent);
49  ~FCThread() override;
50 
51  void createCopyJobs(const QList<QUrl>& itemsList,
52  const FCContainer& settings);
53  void cancel();
54 
55 Q_SIGNALS:
56 
57  void signalUrlProcessed(const QUrl& from, const QUrl& to);
59 };
60 
61 } // namespace DigikamGenericFileCopyPlugin
62 
63 #endif // DIGIKAM_FC_THREAD_H
Definition: fccontainer.h:41
void signalUrlProcessed(const QUrl &from, const QUrl &to)
Definition: actionthreadbase.h:102
Definition: fccontainer.h:38
Definition: datefolderview.cpp:43