digiKam
Loading...
Searching...
No Matches
albumparser.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 : 2012-01-24
7 * Description : album parser progress indicator
8 *
9 * SPDX-FileCopyrightText: 2012-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 * SPDX-FileCopyrightText: 2019-2020 by Minh Nghia Duong <minhnghiaduong997 at gmail dot com>
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 *
14 * ============================================================ */
15
16#pragma once
17
18// Local includes
19
20#include "iteminfo.h"
21#include "progressmanager.h"
22
23namespace Digikam
24{
25class Album;
26
27class DIGIKAM_GUI_EXPORT AlbumParser : public ProgressItem
28{
29 Q_OBJECT
30
31public:
32
36 explicit AlbumParser(const ItemInfoList& infoList);
37
41 explicit AlbumParser(Album* const album);
42
43 ~AlbumParser() override;
44
45 void run();
46
47Q_SIGNALS:
48
49 void signalComplete(const QList<QUrl>&);
50
51private Q_SLOTS:
52
53 void slotRun();
54 void slotCancel();
55 void slotParseItemInfoList(const ItemInfoList& list);
56
57private:
58
59 // Disable
60 AlbumParser(QObject*) = delete;
61
62 class Private;
63 Private* const d = nullptr;
64};
65
66} // namespace Digikam
Definition albumparser.h:28
void signalComplete(const QList< QUrl > &)
Abstract base class for all album types.
Definition album.h:57
Definition iteminfolist.h:37
Definition progressmanager.h:35
@ Album
Definition coredbfields.h:48
Definition datefolderview.cpp:34