digiKam
dtrashiteminfo.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 : 2015-08-08
7  * Description : DTrash item info container
8  *
9  * Copyright (C) 2015 by Mohamed_Anwer <m_dot_anwer at gmx 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_DTRASH_ITEM_INFO_H
25 #define DIGIKAM_DTRASH_ITEM_INFO_H
26 
27 // Qt includes
28 
29 #include <QList>
30 #include <QDateTime>
31 
32 namespace Digikam
33 {
34 
36 {
37 
38 public:
39 
40  explicit DTrashItemInfo();
41 
42  bool isNull() const;
43  bool operator==(const DTrashItemInfo& itemInfo) const;
44 
45 public:
46 
47  QString trashPath;
48  QString jsonFilePath;
49  QString collectionPath;
51  QDateTime deletionTimestamp;
52  qlonglong imageId;
53 };
54 
56 
58 QDebug operator<<(QDebug dbg, const DTrashItemInfo& info);
59 
60 } // namespace Digikam
61 
62 #endif // DIGIKAM_DTRASH_ITEM_INFO_H
Definition: dtrashiteminfo.h:36
QString collectionRelativePath
Definition: dtrashiteminfo.h:50
QDateTime deletionTimestamp
Definition: dtrashiteminfo.h:51
qlonglong imageId
Definition: dtrashiteminfo.h:52
bool operator==(const DTrashItemInfo &itemInfo) const
Definition: dtrashiteminfo.cpp:50
bool isNull() const
Definition: dtrashiteminfo.cpp:38
QString collectionPath
Definition: dtrashiteminfo.h:49
QString jsonFilePath
Definition: dtrashiteminfo.h:48
QString trashPath
Definition: dtrashiteminfo.h:47
DTrashItemInfo()
Definition: dtrashiteminfo.cpp:33
Definition: datefolderview.cpp:43
QDebug operator<<(QDebug dbg, const DbEngineParameters &p)
Definition: dbengineparameters.cpp:863
QList< DTrashItemInfo > DTrashItemInfoList
Definition: dtrashiteminfo.h:55