digiKam
thumbstask.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 thumbs 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_THUMBS_TASK_H
25
#define DIGIKAM_THUMBS_TASK_H
26
27
// Qt includes
28
29
#include <QImage>
30
31
// Local includes
32
33
#include "
actionthreadbase.h
"
34
35
namespace
Digikam
36
{
37
38
class
LoadingDescription;
39
class
MaintenanceData;
40
41
class
ThumbsTask
:
public
ActionJob
42
{
43
Q_OBJECT
44
45
public
:
46
47
explicit
ThumbsTask
();
48
~ThumbsTask
()
override
;
49
50
void
setMaintenanceData
(
MaintenanceData
*
const
data =
nullptr
);
51
52
Q_SIGNALS:
53
54
void
signalFinished
(
const
QImage&);
55
56
protected
:
57
58
void
run
()
override
;
59
60
private
:
61
62
// Disable
63
ThumbsTask
(QObject*) =
delete
;
64
65
private
:
66
67
class
Private;
68
Private*
const
d;
69
};
70
71
}
// namespace Digikam
72
73
#endif
// DIGIKAM_THUMBS_TASK_H
actionthreadbase.h
Digikam::ActionJob
Definition:
actionthreadbase.h:45
Digikam::MaintenanceData
Definition:
maintenancedata.h:42
Digikam::ThumbsTask
Definition:
thumbstask.h:42
Digikam::ThumbsTask::setMaintenanceData
void setMaintenanceData(MaintenanceData *const data=nullptr)
Definition:
thumbstask.cpp:78
Digikam::ThumbsTask::ThumbsTask
ThumbsTask()
Definition:
thumbstask.cpp:56
Digikam::ThumbsTask::~ThumbsTask
~ThumbsTask() override
Definition:
thumbstask.cpp:66
Digikam::ThumbsTask::signalFinished
void signalFinished(const QImage &)
Digikam::ThumbsTask::run
void run() override
Definition:
thumbstask.cpp:83
Digikam
Definition:
datefolderview.cpp:43
core
utilities
maintenance
thumbstask.h
Generated by
1.9.1