digiKam
vidslidetask.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 : 2017-05-25
7  * Description : a tool to generate video slideshow from images.
8  *
9  * Copyright (C) 2017-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_VIDSLIDE_TASK_H
25 #define DIGIKAM_VIDSLIDE_TASK_H
26 
27 // Qt includes
28 
29 #include <QString>
30 
31 // Local includes
32 
33 #include "vidslidesettings.h"
34 #include "actionthreadbase.h"
35 #include "digikam_export.h"
36 
37 namespace Digikam
38 {
39 
40 class VidSlideTask : public ActionJob
41 {
42  Q_OBJECT
43 
44 public:
45 
46  explicit VidSlideTask(VidSlideSettings* const settings);
47  ~VidSlideTask();
48 
49 Q_SIGNALS:
50 
51  void signalMessage(const QString&, bool);
52  void signalDone(bool);
53 
54 protected:
55 
56  void run() override;
57 
58 private:
59 
60  // Disable
61  VidSlideTask(QObject*);
62 
63 private:
64 
65  class Private;
66  Private* const d;
67 };
68 
69 } // namespace Digikam
70 
71 #endif // DIGIKAM_VIDSLIDE_TASK_H
Definition: actionthreadbase.h:45
Definition: vidslidesettings.h:47
Definition: vidslidetask.h:41
~VidSlideTask()
Definition: vidslidetask.cpp:251
void signalMessage(const QString &, bool)
void run() override
Definition: vidslidetask.cpp:257
VidSlideTask(VidSlideSettings *const settings)
Definition: vidslidetask.cpp:239
Definition: datefolderview.cpp:43