digiKam
Loading...
Searching...
No Matches
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 * SPDX-FileCopyrightText: 2015 by Mohamed_Anwer <m_dot_anwer at gmx dot com>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15#pragma once
16
17// Qt includes
18
19#include <QList>
20#include <QDateTime>
21
22namespace Digikam
23{
24
26{
27
28public:
29
30 DTrashItemInfo() = default;
31
32 bool isNull() const;
33 bool operator==(const DTrashItemInfo& itemInfo) const;
34
35public:
36
37 QString trashPath;
38 QString jsonFilePath;
42 qlonglong imageId = -1;
43};
44
45typedef QList<DTrashItemInfo> DTrashItemInfoList;
46
48QDebug operator<<(QDebug dbg, const DTrashItemInfo& info);
49
50} // namespace Digikam
Definition dtrashiteminfo.h:26
QString collectionRelativePath
Definition dtrashiteminfo.h:40
QDateTime deletionTimestamp
Definition dtrashiteminfo.h:41
qlonglong imageId
Definition dtrashiteminfo.h:42
bool operator==(const DTrashItemInfo &itemInfo) const
Definition dtrashiteminfo.cpp:36
bool isNull() const
Definition dtrashiteminfo.cpp:24
QString collectionPath
Definition dtrashiteminfo.h:39
QString jsonFilePath
Definition dtrashiteminfo.h:38
QString trashPath
Definition dtrashiteminfo.h:37
Definition datefolderview.cpp:34
QDebug operator<<(QDebug dbg, const DbEngineParameters &p)
Definition dbengineparameters.cpp:930
QList< DTrashItemInfo > DTrashItemInfoList
Definition dtrashiteminfo.h:45