digiKam
itemlister_p.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 : 2007-03-20
7  * Description : Listing information from database - private containers.
8  *
9  * Copyright (C) 2007-2012 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
10  * Copyright (C) 2007-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  * Copyright (C) 2015 by Mohamed_Anwer <m_dot_anwer at gmx dot com>
12  * Copyright (C) 2018 by Mario Frank <mario dot frank at uni minus potsdam dot de>
13  *
14  * This program is free software; you can redistribute it
15  * and/or modify it under the terms of the GNU General
16  * Public License as published by the Free Software Foundation;
17  * either version 2, or (at your option)
18  * any later version.
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  * GNU General Public License for more details.
24  *
25  * ============================================================ */
26 
27 #ifndef DIGIKAM_ITEM_LISTER_P_H
28 #define DIGIKAM_ITEM_LISTER_P_H
29 
30 #include "itemlister.h"
31 
32 // C++ includes
33 
34 #include <cstdlib>
35 #include <cstdio>
36 #include <ctime>
37 #include <cerrno>
38 #include <limits>
39 
40 // Qt includes
41 
42 #include <QFile>
43 #include <QFileInfo>
44 #include <QDataStream>
45 #include <QRegularExpression>
46 #include <QDir>
47 
48 // Local includes
49 
50 #include "digikam_globals.h"
51 #include "digikam_debug.h"
52 #include "coredb.h"
53 #include "coredbaccess.h"
54 #include "coredbbackend.h"
55 #include "collectionmanager.h"
56 #include "collectionlocation.h"
57 #include "itemquerybuilder.h"
58 #include "dmetadata.h"
59 #include "haariface.h"
60 #include "dbenginesqlquery.h"
61 #include "tagscache.h"
62 #include "itemtagpair.h"
63 #include "dbjobsthread.h"
64 #include "dbjobinfo.h"
65 #include "similaritydbaccess.h"
66 #include "similaritydb.h"
67 
68 namespace Digikam
69 {
70 
74 inline uint qHash(const ItemListerRecord& key)
75 {
76  return key.imageID;
77 }
78 
79 class Q_DECL_HIDDEN ItemLister::Private
80 {
81 
82 public:
83 
84  explicit Private()
85  : recursive (true),
86  listOnlyAvailableImages(true)
87  {
88  }
89 
90 public:
91 
92  bool recursive;
94 };
95 
96 } // namespace Digikam
97 
98 #endif // DIGIKAM_ITEM_LISTER_P_H
Definition: itemlisterrecord.h:48
qlonglong imageID
Definition: itemlisterrecord.h:63
Definition: itemlister_p.h:80
bool listOnlyAvailableImages
Definition: itemlister_p.h:93
Private()
Definition: itemlister_p.h:84
bool recursive
Definition: itemlister_p.h:92
Definition: itemlister.h:49
Definition: datefolderview.cpp:43
uint qHash(const PAlbumPath &id)
Definition: albummanager_p.h:141