digiKam
Loading...
Searching...
No Matches
imagequalitysorter.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-19
7 * Description : image quality sorter maintenance tool
8 *
9 * SPDX-FileCopyrightText: 2013-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 * SPDX-FileCopyrightText: 2013-2014 by Gowtham Ashok <gwty93 at gmail dot com>
11 * SPDX-FileCopyrightText: 2021-2022 by Phuoc Khanh Le <phuockhanhnk94 at gmail dot com>
12 *
13 * SPDX-License-Identifier: GPL-2.0-or-later
14 *
15 * ============================================================ */
16
17#pragma once
18
19// Qt includes
20
21#include <QObject>
22
23// Local includes
24
25#include "album.h"
26#include "maintenancetool.h"
28
29class QImage;
30
31namespace Digikam
32{
33
34class ItemInfo;
35
37{
38 Q_OBJECT
39
40public:
41
47
48public:
49
54 const AlbumList& list = AlbumList(),
56 ProgressItem* const parent = nullptr);
57 ~ImageQualitySorter() override;
58
59 void setUseMultiCoreCPU(bool b) override;
60
61private:
62
63 void processOne();
64
65private Q_SLOTS:
66
67 void slotStart() override;
68 void slotCancel() override;
69 void slotDone() override;
70 void slotAdvance(const ItemInfo&, const QImage&, int);
71
72private:
73
74 class Private;
75 Private* const d = nullptr;
76};
77
78} // namespace Digikam
Definition imagequalitycontainer.h:32
Definition imagequalitysorter.h:37
QualityScanMode
Definition imagequalitysorter.h:43
@ NonAssignedItems
Scan only items with no Pick Labels assigned.
Definition imagequalitysorter.h:45
@ AllItems
Clean all Pick Labels assignments and re-scan all items.
Definition imagequalitysorter.h:44
~ImageQualitySorter() override
Definition imagequalitysorter.cpp:80
void setUseMultiCoreCPU(bool b) override
Definition imagequalitysorter.cpp:85
Definition iteminfo.h:68
Definition maintenancetool.h:31
Definition progressmanager.h:35
ProgressItem * parent() const
Definition progressmanager.cpp:283
Definition datefolderview.cpp:34
QList< Album * > AlbumList
Definition album.h:41