digiKam
metaenginesettings.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 : 2010-08-20
7
* Description : central place for MetaEngine settings
8
*
9
* Copyright (C) 2010-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_META_ENGINE_SETTINGS_H
25
#define DIGIKAM_META_ENGINE_SETTINGS_H
26
27
// Qt includes
28
29
#include <QObject>
30
31
// Local includes
32
33
#include "
digikam_export.h
"
34
#include "
metaenginesettingscontainer.h
"
35
36
namespace
Digikam
37
{
38
39
class
DIGIKAM_EXPORT
MetaEngineSettings
:
public
QObject
40
{
41
Q_OBJECT
42
43
public
:
44
48
static
MetaEngineSettings
* instance();
49
53
MetaEngineSettingsContainer
settings()
const
;
54
58
void
setSettings(
const
MetaEngineSettingsContainer
& settings);
59
63
bool
exifRotate()
const
;
64
65
Q_SIGNALS:
66
67
void
signalSettingsChanged
();
68
69
void
signalMetaEngineSettingsChanged
(
const
MetaEngineSettingsContainer
& current,
70
const
MetaEngineSettingsContainer
& previous);
71
72
private
:
73
74
// Disabled
75
MetaEngineSettings
();
76
explicit
MetaEngineSettings
(QObject*);
77
~
MetaEngineSettings
()
override
;
78
79
void
readFromConfig();
80
81
private
:
82
83
class
Private;
84
Private*
const
d;
85
86
friend
class
MetaEngineSettingsCreator;
87
};
88
89
}
// namespace Digikam
90
91
#endif
// DIGIKAM_META_ENGINE_SETTINGS_H
Digikam::MetaEngineSettingsContainer
Definition:
metaenginesettingscontainer.h:48
Digikam::MetaEngineSettings
Definition:
metaenginesettings.h:40
Digikam::MetaEngineSettings::signalSettingsChanged
void signalSettingsChanged()
Digikam::MetaEngineSettings::signalMetaEngineSettingsChanged
void signalMetaEngineSettingsChanged(const MetaEngineSettingsContainer ¤t, const MetaEngineSettingsContainer &previous)
digikam_export.h
metaenginesettingscontainer.h
Digikam
Definition:
datefolderview.cpp:43
core
libs
metadataengine
engine
metaenginesettings.h
Generated by
1.9.1