digiKam
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
* Copyright (C) 2008-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_BQM_BATCH_TOOLS_FACTORY_H
25
#define DIGIKAM_BQM_BATCH_TOOLS_FACTORY_H
26
27
// Qt includes
28
29
#include <QObject>
30
31
// Local includes
32
33
#include "
batchtool.h
"
34
#include "
batchtoolutils.h
"
35
36
namespace
Digikam
37
{
38
39
class
DInfoInterface;
40
41
class
BatchToolsFactory
:
public
QObject
42
{
43
Q_OBJECT
44
45
public
:
46
47
static
BatchToolsFactory
*
instance
();
48
49
public
:
50
51
void
registerTool
(
BatchTool
*
const
tool);
52
BatchTool
*
findTool
(
const
QString& name,
BatchTool::BatchToolGroup
group)
const
;
53
BatchToolsList
toolsList
()
const
;
54
DInfoInterface
*
infoIface
()
const
;
55
56
private
:
57
58
// Disable
59
BatchToolsFactory
();
60
~
BatchToolsFactory
()
override
;
61
62
explicit
BatchToolsFactory
(QObject*) =
delete
;
63
64
private
:
65
66
class
Private;
67
Private*
const
d;
68
69
friend
class
BatchToolsFactoryCreator
;
70
};
71
72
}
// namespace Digikam
73
74
#endif
// DIGIKAM_BQM_BATCH_TOOLS_FACTORY_H
batchtool.h
batchtoolutils.h
Digikam::BatchTool
Definition:
batchtool.h:56
Digikam::BatchTool::BatchToolGroup
BatchToolGroup
Definition:
batchtool.h:62
Digikam::BatchToolsFactory
Definition:
batchtoolsfactory.h:42
Digikam::BatchToolsFactory::toolsList
BatchToolsList toolsList() const
Definition:
batchtoolsfactory.cpp:100
Digikam::BatchToolsFactory::findTool
BatchTool * findTool(const QString &name, BatchTool::BatchToolGroup group) const
Definition:
batchtoolsfactory.cpp:120
Digikam::BatchToolsFactory::infoIface
DInfoInterface * infoIface() const
Definition:
batchtoolsfactory.cpp:105
Digikam::BatchToolsFactory::registerTool
void registerTool(BatchTool *const tool)
Definition:
batchtoolsfactory.cpp:110
Digikam::BatchToolsFactory::BatchToolsFactoryCreator
friend class BatchToolsFactoryCreator
Definition:
batchtoolsfactory.h:69
Digikam::BatchToolsFactory::instance
static BatchToolsFactory * instance()
Definition:
batchtoolsfactory.cpp:65
Digikam::DInfoInterface
Definition:
dinfointerface.h:56
QList< BatchTool * >
Digikam
Definition:
datefolderview.cpp:43
core
utilities
queuemanager
manager
batchtoolsfactory.h
Generated by
1.9.1