File indexing completed on 2025-03-09 03:52:06

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2008-09-09
0007  * Description : a presentation tool.
0008  *
0009  * SPDX-FileCopyrightText: 2008      by Valerio Fuoglio <valerio dot fuoglio at gmail dot com>
0010  * SPDX-FileCopyrightText: 2012-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0011  *
0012  * SPDX-License-Identifier: GPL-2.0-or-later
0013  *
0014  * ============================================================ */
0015 
0016 #ifndef DIGIKAM_PRESENTATION_ADV_PAGE_H
0017 #define DIGIKAM_PRESENTATION_ADV_PAGE_H
0018 
0019 // Local includes
0020 
0021 #include "ui_presentation_advpage.h"
0022 
0023 namespace DigikamGenericPresentationPlugin
0024 {
0025 
0026 class PresentationContainer;
0027 
0028 class PresentationAdvPage : public QWidget,
0029                             public Ui::PresentationAdvPage
0030 {
0031     Q_OBJECT
0032 
0033 public:
0034 
0035     explicit PresentationAdvPage(QWidget* const parent,
0036                                  PresentationContainer* const sharedData);
0037     ~PresentationAdvPage() override;
0038 
0039     void readSettings();
0040     void saveSettings();
0041 
0042 Q_SIGNALS:
0043 
0044     void useMillisecondsToggled();
0045 
0046 private Q_SLOTS:
0047 
0048     void slotUseMillisecondsToggled();
0049 
0050 private:
0051 
0052     PresentationContainer* m_sharedData = nullptr;
0053 };
0054 
0055 } // namespace DigikamGenericPresentationPlugin
0056 
0057 #endif // DIGIKAM_PRESENTATION_ADV_PAGE_H