digiKam
Loading...
Searching...
No Matches
advancedrenameprocessdialog.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-11-14
7 * Description : process dialog for renaming files
8 *
9 * SPDX-FileCopyrightText: 2010-2012 by Andi Clemens <andi dot clemens at gmail dot com>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15#pragma once
16
17// Local includes
18
20#include "dprogressdlg.h"
21#include "digikam_export.h"
22
23class QCloseEvent;
24class QPixmap;
25class QUrl;
26
27namespace Digikam
28{
29
30class LoadingDescription;
31
32class DIGIKAM_GUI_EXPORT AdvancedRenameProcessDialog : public DProgressDlg
33{
34 Q_OBJECT
35
36public:
37
38 explicit AdvancedRenameProcessDialog(const NewNamesList& list,
39 QWidget* const parent = nullptr);
41
42 QList<QUrl> failedUrls() const;
43
44private:
45
46 void abort();
47 void complete();
48 void processOne();
49 void getNextThumbnail();
50
51protected:
52
53 void closeEvent(QCloseEvent* e) override;
54
55protected Q_SLOTS:
56
57 void slotCancel();
58 void slotRenameFinished();
59 void slotRenameFailed(const QUrl& url);
60
61private Q_SLOTS:
62
63 void slotRenameImages();
64 void slotGotThumbnail(const LoadingDescription& desc, const QPixmap& pix);
65
66private:
67
68 // Disable
71
72private:
73
74 class Private;
75 Private* const d = nullptr;
76};
77
78} // namespace Digikam
Definition advancedrenameprocessdialog.h:33
Definition dprogressdlg.h:30
Definition loadingdescription.h:35
Definition datefolderview.cpp:34
QList< NewNameInfo > NewNamesList
Definition advancedrenamedialog.h:84