digiKam
dngconverterthread.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of kipi-plugins project
4  * https://www.digikam.org
5  *
6  * Date : 2008-09-24
7  * Description : DNG Converter threads manager
8  *
9  * Copyright (C) 2012 by Smit Mehta <smit dot meh at gmail dot com>
10  * Copyright (C) 2008-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_DNG_CONVERTER_THREAD_H
25 #define DIGIKAM_DNG_CONVERTER_THREAD_H
26 
27 // Qt includes
28 
29 #include <QUrl>
30 
31 // Local includes
32 
33 #include "actionthreadbase.h"
34 #include "dngconverteractions.h"
35 
36 using namespace Digikam;
37 
39 {
40 
41 class DNGConverterActionData;
42 
44 {
45  Q_OBJECT
46 
47 public:
48 
49  explicit DNGConverterActionThread(QObject* const parent);
51 
52  void setBackupOriginalRawFile(bool b);
53  void setCompressLossLess(bool b);
54  void setUpdateFileDate(bool b);
55  void setPreviewMode(int mode);
56 
57  void identifyRawFile(const QUrl& url);
58  void identifyRawFiles(const QList<QUrl>& urlList);
59 
60  void processRawFile(const QUrl& url);
61  void processRawFiles(const QList<QUrl>& urlList);
62 
63  void cancel();
64 
65 Q_SIGNALS:
66 
69 
74 
75 private:
76 
77  class Private;
78  Private* const d;
79 };
80 
81 } // namespace DigikamGenericDNGConverterPlugin
82 
83 #endif // DIGIKAM_DNG_CONVERTER_THREAD_H
void signalFinished(const DigikamGenericDNGConverterPlugin::DNGConverterActionData &ad)
void signalStarting(const DigikamGenericDNGConverterPlugin::DNGConverterActionData &ad)
Definition: actionthreadbase.h:102
Definition: dngconverteractions.h:40
Definition: datefolderview.cpp:43