File indexing completed on 2025-01-05 03:52:01

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2003-11-03
0007  * Description : a tool to create calendar.
0008  *
0009  * SPDX-FileCopyrightText: 2003-2005 by Renchi Raju <renchi dot raju at gmail dot com>
0010  * SPDX-FileCopyrightText: 2006      by Tom Albers <tomalbers at kde dot nl>
0011  * SPDX-FileCopyrightText: 2007-2008 by Orgad Shaneh <orgads at gmail dot com>
0012  * SPDX-FileCopyrightText: 2012      by Angelo Naselli <anaselli at linux dot it>
0013  * SPDX-FileCopyrightText: 2012-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0014  *
0015  * SPDX-License-Identifier: GPL-2.0-or-later
0016  *
0017  * ============================================================ */
0018 
0019 #ifndef DIGIKAM_CAL_WIZARD_H
0020 #define DIGIKAM_CAL_WIZARD_H
0021 
0022 // Qt includes
0023 
0024 #include <QMap>
0025 
0026 // Local includes
0027 
0028 #include "dwizarddlg.h"
0029 #include "dwizardpage.h"
0030 #include "dinfointerface.h"
0031 
0032 using namespace Digikam;
0033 
0034 namespace DigikamGenericCalendarPlugin
0035 {
0036 
0037 class CalWizard : public DWizardDlg
0038 {
0039     Q_OBJECT
0040 
0041 public:
0042 
0043     explicit CalWizard(QWidget* const parent, DInfoInterface* const iface = nullptr);
0044     ~CalWizard() override;
0045 
0046     DInfoInterface* iface() const;
0047 
0048 private:
0049 
0050     void print();
0051 
0052 private Q_SLOTS:
0053 
0054     void slotPageSelected(int current);
0055     void printComplete();
0056     void updatePage(int page);
0057 
0058 private:
0059 
0060     class Private;
0061     Private* const d;
0062 };
0063 
0064 } // Namespace Digikam
0065 
0066 #endif // DIGIKAM_CAL_WIZARD_H