digiKam
presentationmngr.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 : 2003-01-31
7  * Description : a presentation tool.
8  *
9  * Copyright (C) 2006-2009 by Valerio Fuoglio <valerio dot fuoglio at gmail dot com>
10  * Copyright (C) 2009 by Andi Clemens <andi dot clemens at googlemail dot com>
11  * Copyright (C) 2003-2005 by Renchi Raju <renchi dot raju at gmail dot com>
12  * Copyright (C) 2012-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
13  *
14  * This program is free software; you can redistribute it
15  * and/or modify it under the terms of the GNU General
16  * Public License as published by the Free Software Foundation;
17  * either version 2, or (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * ============================================================ */
25 
26 #ifndef DIGIKAM_PRESENTATION_MNGR_H
27 #define DIGIKAM_PRESENTATION_MNGR_H
28 
29 // Qt includes
30 
31 #include <QObject>
32 #include <QList>
33 #include <QUrl>
34 
35 // Local includes
36 
37 #include "dplugingeneric.h"
38 #include "dinfointerface.h"
39 #include "presentationdlg.h"
40 
41 using namespace Digikam;
42 
44 {
45 
46 class PresentationContainer;
47 
48 class PresentationMngr : public QObject
49 {
50  Q_OBJECT
51 
52 public:
53 
54  explicit PresentationMngr(QObject* const parent, DInfoInterface* const iface);
55  ~PresentationMngr() override;
56 
57  void addFiles(const QList<QUrl>& urls);
58  void showConfigDialog();
59 
60  void setPlugin(DPlugin* const plugin);
61 
62 private Q_SLOTS:
63 
64  void slotSlideShow();
65 
66 private:
67 
68  DPlugin* m_plugin;
69  PresentationDlg* m_dialog;
70  PresentationContainer* m_sharedData;
71 };
72 
73 } // namespace DigikamGenericPresentationPlugin
74 
75 #endif // DIGIKAM_PRESENTATION_MNGR_H
Definition: presentationcontainer.h:54
Definition: dinfointerface.h:56
Definition: dplugin.h:61
Definition: presentation_audiopage.cpp:46
Definition: datefolderview.cpp:43