digiKam
dngconvertertask.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 : 2012-12-24
7  * Description : DNG Converter thread
8  *
9  * Copyright (C) 2012 by Smit Mehta <smit dot meh at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * ============================================================ */
22 
23 #ifndef DIGIKAM_DNG_CONVERTER_TASK_H
24 #define DIGIKAM_DNG_CONVERTER_TASK_H
25 
26 // Qt includes
27 
28 #include <QUrl>
29 
30 // Local includes
31 
32 #include "actionthreadbase.h"
33 #include "dngconverteractions.h"
34 
35 using namespace Digikam;
36 
38 {
39 
41 {
42  Q_OBJECT
43 
44 public:
45 
46  explicit DNGConverterTask(QObject* const parent,
47  const QUrl& url,
48  const DNGConverterAction& action);
50 
51  void setBackupOriginalRawFile(bool b);
52  void setCompressLossLess(bool b);
53  void setUpdateFileDate(bool b);
54  void setPreviewMode(int mode);
55 
56 Q_SIGNALS:
57 
60 
61 public Q_SLOTS:
62 
63  void slotCancel();
64 
65 protected:
66 
67  void run();
68 
69 private:
70 
71  class Private;
72  Private* const d;
73 };
74 
75 } // namespace DigikamGenericDNGConverterPlugin
76 
77 #endif // DIGIKAM_DNG_CONVERTER_TASK_H
78 
void signalStarting(const DigikamGenericDNGConverterPlugin::DNGConverterActionData &ad)
void signalFinished(const DigikamGenericDNGConverterPlugin::DNGConverterActionData &ad)
Definition: actionthreadbase.h:45
Definition: dngconverteractions.h:40
DNGConverterAction
Definition: dngconverteractions.h:43
Definition: datefolderview.cpp:43