digiKam
Loading...
Searching...
No Matches
batchtoolsfactory.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 : 2008-11-24
7
* Description : Batch Tools Factory.
8
*
9
* SPDX-FileCopyrightText: 2008-2024 by Gilles Caulier <caulier dot gilles at gmail 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 <QObject>
20
21
// Local includes
22
23
#include "
batchtool.h
"
24
#include "
batchtoolutils.h
"
25
26
namespace
Digikam
27
{
28
29
class
BqmInfoIface;
30
31
class
BatchToolsFactory
:
public
QObject
32
{
33
Q_OBJECT
34
35
public
:
36
37
static
BatchToolsFactory
*
instance
();
38
39
public
:
40
41
void
registerTool
(
BatchTool
*
const
tool);
42
BatchTool
*
findTool
(
const
QString& name,
BatchTool::BatchToolGroup
group)
const
;
43
BatchToolsList
toolsList
()
const
;
44
BqmInfoIface
*
infoIface
()
const
;
45
46
private
:
47
48
// Disable
49
BatchToolsFactory
();
50
~BatchToolsFactory
()
override
;
51
52
explicit
BatchToolsFactory
(QObject*) =
delete
;
53
54
private
:
55
56
class
Private;
57
Private*
const
d =
nullptr
;
58
59
friend
class
BatchToolsFactoryCreator
;
60
};
61
62
}
// namespace Digikam
batchtool.h
batchtoolutils.h
Digikam::BatchTool
Definition
batchtool.h:46
Digikam::BatchTool::BatchToolGroup
BatchToolGroup
Definition
batchtool.h:52
Digikam::BatchToolsFactory
Definition
batchtoolsfactory.h:32
Digikam::BatchToolsFactory::toolsList
BatchToolsList toolsList() const
Definition
batchtoolsfactory.cpp:121
Digikam::BatchToolsFactory::findTool
BatchTool * findTool(const QString &name, BatchTool::BatchToolGroup group) const
Definition
batchtoolsfactory.cpp:141
Digikam::BatchToolsFactory::registerTool
void registerTool(BatchTool *const tool)
Definition
batchtoolsfactory.cpp:131
Digikam::BatchToolsFactory::BatchToolsFactoryCreator
friend class BatchToolsFactoryCreator
Definition
batchtoolsfactory.h:59
Digikam::BatchToolsFactory::instance
static BatchToolsFactory * instance()
Definition
batchtoolsfactory.cpp:53
Digikam::BatchToolsFactory::infoIface
BqmInfoIface * infoIface() const
Definition
batchtoolsfactory.cpp:126
Digikam::BqmInfoIface
Definition
bqminfoiface.h:31
Digikam
Definition
datefolderview.cpp:34
Digikam::BatchToolsList
QList< BatchTool * > BatchToolsList
Definition
batchtoolutils.h:35
core
utilities
queuemanager
manager
batchtoolsfactory.h
Generated by
1.9.8