digiKam
vidslidethread.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_THREAD_H
25 #define DIGIKAM_VIDSLIDE_THREAD_H
26 
27 // Local includes
28 
29 #include "vidslidesettings.h"
30 #include "vidslidetask.h"
31 #include "actionthreadbase.h"
32 #include "digikam_export.h"
33 
34 namespace Digikam
35 {
36 
37 class DIGIKAM_EXPORT VidSlideThread : public ActionThreadBase
38 {
39  Q_OBJECT
40 
41 public:
42 
43  explicit VidSlideThread(QObject* const parent);
44  ~VidSlideThread() override;
45 
46  void processStream(VidSlideSettings* const settings);
47 
48 Q_SIGNALS:
49 
50  void signalProgress(int);
51  void signalDone(bool);
52  void signalMessage(const QString&, bool);
53 };
54 
55 } // namespace Digikam
56 
57 #endif // DIGIKAM_VIDSLIDE_THREAD_H
Definition: actionthreadbase.h:102
Definition: vidslidesettings.h:47
Definition: vidslidethread.h:38
void signalMessage(const QString &, bool)
Definition: datefolderview.cpp:43