digiKam
Loading...
Searching...
No Matches
iojobsmanager.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-15
7
* Description : Manager for creating and starting IO jobs threads
8
*
9
* SPDX-FileCopyrightText: 2015 by Mohamed_Anwer <m_dot_anwer at gmx dot com>
10
* SPDX-FileCopyrightText: 2018 by Maik Qualmann <metzpinguin at gmail dot com>
11
*
12
* SPDX-License-Identifier: GPL-2.0-or-later
13
*
14
* ============================================================ */
15
16
#pragma once
17
18
// Qt includes
19
20
#include <QObject>
21
#include <QUrl>
22
23
// Local includes
24
25
#include "
digikam_export.h
"
26
#include "
dtrashiteminfo.h
"
27
#include "
iojobsthread.h
"
28
29
namespace
Digikam
30
{
31
32
class
IOJobData;
33
34
class
DIGIKAM_GUI_EXPORT
IOJobsManager
:
public
QObject
35
{
36
Q_OBJECT
37
38
public
:
39
44
static
IOJobsManager
* instance();
45
51
IOJobsThread
* startIOJobs(
IOJobData
*
const
data);
52
58
IOJobsThread
* startDTrashItemsListingForCollection(
const
QString& collectionPath);
59
64
IOJobsThread
* buildCollectionTrashCounters();
65
66
private
:
67
68
// Disable
69
IOJobsManager
();
70
explicit
IOJobsManager
(QObject*);
71
72
friend
class
IOJobsManagerCreator;
73
};
74
75
}
// namespace Digikam
Digikam::IOJobData
Definition
iojobdata.h:35
Digikam::IOJobsManager
Definition
iojobsmanager.h:35
Digikam::IOJobsThread
Definition
iojobsthread.h:31
digikam_export.h
dtrashiteminfo.h
iojobsthread.h
Digikam
Definition
datefolderview.cpp:34
core
libs
iojobs
iojobsmanager.h
Generated by
1.9.8