digiKam
Loading...
Searching...
No Matches
duplicatesprogressobserver.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 : 2015-06-10
7
* Description : Progress observer for duplicate scanning
8
*
9
* SPDX-FileCopyrightText: 2015 by Mohamed_Anwer <m_dot_anwer at gmx dot com>
10
*
11
* SPDX-License-Identifier: GPL-2.0-or-later
12
*
13
* ============================================================ */
14
15
#pragma once
16
17
// Qt includes
18
19
#include <QImage>
20
21
// Local includes
22
23
#include "
haariface.h
"
24
#include "
dbjob.h
"
25
#include "
iteminfo.h
"
26
#include "
digikam_export.h
"
27
28
namespace
Digikam
29
{
30
31
class
SearchesJob;
32
33
class
DIGIKAM_DATABASE_EXPORT
DuplicatesProgressObserver
:
public
HaarProgressObserver
34
{
35
36
public
:
37
38
explicit
DuplicatesProgressObserver
(
SearchesJob
*
const
thread);
39
~DuplicatesProgressObserver
()
override
;
40
41
void
imageProcessed(
const
ItemInfo
& inf,
const
QImage& img,
int
dup)
override
;
42
bool
isCanceled()
override
;
43
44
private
:
45
46
SearchesJob
* m_job =
nullptr
;
47
48
private
:
49
50
Q_DISABLE_COPY(
DuplicatesProgressObserver
)
51
};
52
53
}
// namespace Digikam
Digikam::DuplicatesProgressObserver
Definition
duplicatesprogressobserver.h:34
Digikam::HaarProgressObserver
Definition
haariface.h:44
Digikam::ItemInfo
Definition
iteminfo.h:68
Digikam::SearchesJob
Definition
dbjob.h:170
dbjob.h
digikam_export.h
haariface.h
iteminfo.h
Digikam
Definition
datefolderview.cpp:34
core
libs
database
dbjobs
duplicatesprogressobserver.h
Generated by
1.9.8