digiKam
fileactionprogress.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-23
7  * Description : file action progress indicator
8  *
9  * Copyright (C) 2012-2022 by Gilles Caulier <caulier dot gilles at gmail 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_FILE_ACTION_PROGRESS_H
25 #define DIGIKAM_FILE_ACTION_PROGRESS_H
26 
27 // Qt includes
28 
29 #include <QString>
30 
31 // Local includes
32 
33 #include "progressmanager.h"
34 
35 namespace Digikam
36 {
37 
39 {
40  Q_OBJECT
41 
42 public:
43 
44  explicit FileActionProgress(const QString& name);
45  ~FileActionProgress() override;
46 
47 Q_SIGNALS:
48 
50 
51 private Q_SLOTS:
52 
53  void slotProgressValue(float);
54  void slotProgressStatus(const QString&);
55  void slotCompleted();
56  void slotCancel();
57 
58 private:
59 
60  // Disable
61  FileActionProgress(QObject*);
62 };
63 
64 } // namespace Digikam
65 
66 #endif // DIGIKAM_FILE_ACTION_PROGRESS_H
Definition: fileactionprogress.h:39
~FileActionProgress() override
Definition: fileactionprogress.cpp:52
FileActionProgress(const QString &name)
Definition: fileactionprogress.cpp:41
Definition: progressmanager.h:45
Definition: datefolderview.cpp:43