digiKam
fingerprintstask.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 : 2013-08-14
7  * Description : Thread actions task for finger-prints generator.
8  *
9  * Copyright (C) 2013-2022 by Gilles Caulier <caulier dot gilles 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)
15  * 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_FINGERPRINTS_TASK_H
25 #define DIGIKAM_FINGERPRINTS_TASK_H
26 
27 // Qt includes
28 
29 #include <QPixmap>
30 #include <QThread>
31 
32 // Local includes
33 
34 #include "actionthreadbase.h"
35 
36 namespace Digikam
37 {
38 
39 class LoadingDescription;
40 class MaintenanceData;
41 class DImg;
42 
44 {
45  Q_OBJECT
46 
47 public:
48 
49  explicit FingerprintsTask();
50  ~FingerprintsTask() override;
51 
52  void setMaintenanceData(MaintenanceData* const data = nullptr);
53 
54 Q_SIGNALS:
55 
56  void signalFinished(const QImage&);
57 
58 protected:
59 
60  void run() override;
61 
62 private:
63 
64  // Disable
65  FingerprintsTask(QObject*) = delete;
66 
67 private:
68 
69  class Private;
70  Private* const d;
71 };
72 
73 } // namespace Digikam
74 
75 #endif // DIGIKAM_FINGERPRINTS_TASK_H
Definition: actionthreadbase.h:45
Definition: fingerprintstask.h:44
FingerprintsTask()
Definition: fingerprintstask.cpp:59
~FingerprintsTask() override
Definition: fingerprintstask.cpp:67
void setMaintenanceData(MaintenanceData *const data=nullptr)
Definition: fingerprintstask.cpp:73
void run() override
Definition: fingerprintstask.cpp:78
void signalFinished(const QImage &)
Definition: maintenancedata.h:42
Definition: datefolderview.cpp:43