digiKam
Loading...
Searching...
No Matches
itemlistmodel.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 : 2010-12-06
7 * Description : An item model based on a static list
8 *
9 * SPDX-FileCopyrightText: 2010-2011 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15#pragma once
16
17// Local includes
18
19#include "itemthumbnailmodel.h"
20#include "digikam_export.h"
21
22namespace Digikam
23{
24
25class ImageChangeset;
26class CollectionImageChangeset;
27
28class DIGIKAM_DATABASE_EXPORT ItemListModel : public ItemThumbnailModel
29{
30 Q_OBJECT
31
32public:
33
34 explicit ItemListModel(QWidget* const parent);
35 ~ItemListModel() override = default;
36
37 // NOTE: necessary methods to add and remove ItemInfos to the model are inherited from ItemModel
38
39Q_SIGNALS:
40
44 void imageInfosRemoved(const QList<ItemInfo>& infos);
45
46protected Q_SLOTS:
47
48 void slotCollectionImageChange(const CollectionImageChangeset& changeset);
49};
50
51} // namespace Digikam
Definition coredbchangesets.h:142
Definition itemlistmodel.h:29
~ItemListModel() override=default
void imageInfosRemoved(const QList< ItemInfo > &infos)
Definition itemthumbnailmodel.h:31
Definition datefolderview.cpp:34