digiKam
maintenancesettings.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 : 2012-01-31
7  * Description : maintenance manager settings
8  *
9  * Copyright (C) 2012-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_MAINTENANCE_SETTINGS_H
25 #define DIGIKAM_MAINTENANCE_SETTINGS_H
26 
27 // Qt includes
28 
29 #include <QDebug>
30 
31 // Local includes
32 
33 #include "album.h"
34 #include "facescansettings.h"
35 #include "haariface.h"
36 #include "imagequalitycontainer.h"
37 #include "metadatasynchronizer.h"
38 #include "imagequalitysorter.h"
39 
40 namespace Digikam
41 {
42 
44 {
45 
46 public:
47 
48  explicit MaintenanceSettings();
50 
51 public:
52 
54  bool wholeTags;
55 
58 
61 
63  bool newItems;
64 
66  bool thumbnails;
68  bool scanThumbs;
69 
74 
76  bool duplicates;
83 
88 
95 
100 
107 };
108 
110 QDebug operator<<(QDebug dbg, const MaintenanceSettings& s);
111 
112 } // namespace Digikam
113 
114 #endif // DIGIKAM_MAINTENANCE_SETTINGS_H
Definition: facescansettings.h:37
DuplicatesSearchRestrictions
Definition: haariface.h:83
Definition: imagequalitycontainer.h:39
Definition: maintenancesettings.h:44
~MaintenanceSettings()
Definition: maintenancesettings.cpp:59
int qualityScanMode
Mode to assign Pick Labels to items.
Definition: maintenancesettings.h:92
bool scanFingerPrints
Rebuild all fingerprints or only scan missing items.
Definition: maintenancesettings.h:73
bool cleanFacesDb
Definition: maintenancesettings.h:104
bool shrinkDatabases
Definition: maintenancesettings.h:106
bool useMutiCoreCPU
Use Multi-core CPU to process items.
Definition: maintenancesettings.h:60
int syncDirection
Sync direction (image metadata <-> DB).
Definition: maintenancesettings.h:99
bool faceManagement
Scan for faces.
Definition: maintenancesettings.h:85
bool wholeAlbums
Definition: maintenancesettings.h:53
bool wholeTags
Definition: maintenancesettings.h:54
bool fingerPrints
Generate finger-prints.
Definition: maintenancesettings.h:71
AlbumList albums
Definition: maintenancesettings.h:56
bool scanThumbs
Rebuild all thumbnails or only scan missing items.
Definition: maintenancesettings.h:68
bool cleanThumbDb
Definition: maintenancesettings.h:103
bool newItems
Find new items on whole collection.
Definition: maintenancesettings.h:63
bool thumbnails
Generate thumbnails.
Definition: maintenancesettings.h:66
bool databaseCleanup
Perform database cleanup.
Definition: maintenancesettings.h:102
bool qualitySort
Perform Image Quality Sorting.
Definition: maintenancesettings.h:90
MaintenanceSettings()
Definition: maintenancesettings.cpp:33
HaarIface::DuplicatesSearchRestrictions duplicatesRestriction
The type of restrictions to apply on duplicates search results.
Definition: maintenancesettings.h:82
bool cleanSimilarityDb
Definition: maintenancesettings.h:105
AlbumList tags
Definition: maintenancesettings.h:57
int minSimilarity
Minimal similarity between items to compare, in percents.
Definition: maintenancesettings.h:78
ImageQualityContainer quality
Image Quality Sorting Settings.
Definition: maintenancesettings.h:94
FaceScanSettings faceSettings
Face detection settings.
Definition: maintenancesettings.h:87
bool duplicates
Scan for new items.
Definition: maintenancesettings.h:76
bool metadataSync
Sync metadata and DB.
Definition: maintenancesettings.h:97
int maxSimilarity
Maximal similarity between items to compare, in percents.
Definition: maintenancesettings.h:80
Definition: datefolderview.cpp:43
QDebug operator<<(QDebug dbg, const DbEngineParameters &p)
Definition: dbengineparameters.cpp:863