digiKam
itemlisterrecord.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 : Data set for item lister
8  *
9  * Copyright (C) 2005 by Renchi Raju <renchi dot raju at gmail dot com>
10  * Copyright (C) 2007-2008 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
11  * Copyright (C) 2007-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
12  *
13  * This program is free software; you can redistribute it
14  * and/or modify it under the terms of the GNU General
15  * Public License as published by the Free Software Foundation;
16  * either version 2, or (at your option)
17  * any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * ============================================================ */
25 
26 #ifndef DIGIKAM_ITEM_LISTER_RECORD_H
27 #define DIGIKAM_ITEM_LISTER_RECORD_H
28 
29 // Qt includes
30 
31 #include <QString>
32 #include <QDataStream>
33 #include <QDateTime>
34 #include <QSize>
35 #include <QList>
36 #include <QVariant>
37 
38 // Local includes
39 
40 #include "digikam_export.h"
41 #include "coredbconstants.h"
42 #include "coredbalbuminfo.h"
43 
44 namespace Digikam
45 {
46 
47 class DIGIKAM_DATABASE_EXPORT ItemListerRecord
48 {
49 
50 public:
51 
52  explicit ItemListerRecord();
53 
54  bool operator==(const ItemListerRecord& record) const;
55 
56 public:
57 
58  int albumID;
60  int rating;
61 
62  qlonglong fileSize;
63  qlonglong imageID;
65 
67 
68  QString format;
69  QString name;
70 
71  QDateTime creationDate;
72  QDateTime modificationDate;
73 
74  QSize imageSize;
75 
77 
79 };
80 /*
81 DIGIKAM_DATABASE_EXPORT QDataStream& operator<<(QDataStream& os, const ItemListerRecord& record);
82 DIGIKAM_DATABASE_EXPORT QDataStream& operator>>(QDataStream& ds, ItemListerRecord& record);
83 */
84 } // namespace Digikam
85 
86 #endif // DIGIKAM_ITEM_LISTER_RECORD_H
Definition: itemlisterrecord.h:48
qlonglong imageID
Definition: itemlisterrecord.h:63
QString name
Definition: itemlisterrecord.h:69
QString format
Definition: itemlisterrecord.h:68
qlonglong fileSize
Definition: itemlisterrecord.h:62
QList< QVariant > extraValues
Definition: itemlisterrecord.h:78
int albumRootID
Definition: itemlisterrecord.h:59
qlonglong currentFuzzySearchReferenceImage
Definition: itemlisterrecord.h:64
QSize imageSize
Definition: itemlisterrecord.h:74
DatabaseItem::Category category
Definition: itemlisterrecord.h:76
QDateTime modificationDate
Definition: itemlisterrecord.h:72
int albumID
Definition: itemlisterrecord.h:58
QDateTime creationDate
Definition: itemlisterrecord.h:71
double currentSimilarity
Definition: itemlisterrecord.h:66
int rating
Definition: itemlisterrecord.h:60
Category
Definition: coredbconstants.h:95
Definition: datefolderview.cpp:43
bool operator==(const SearchTextSettings &a, const SearchTextSettings &b)
Definition: searchtextbar.cpp:49