digiKam
calwizard.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-11-03
7  * Description : a tool to create calendar.
8  *
9  * Copyright (C) 2003-2005 by Renchi Raju <renchi dot raju at gmail dot com>
10  * Copyright (C) 2006 by Tom Albers <tomalbers at kde dot nl>
11  * Copyright (C) 2007-2008 by Orgad Shaneh <orgads at gmail dot com>
12  * Copyright (C) 2012 by Angelo Naselli <anaselli at linux dot it>
13  * Copyright (C) 2012-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
14  *
15  * This program is free software; you can redistribute it
16  * and/or modify it under the terms of the GNU General
17  * Public License as published by the Free Software Foundation;
18  * either version 2, or (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  * GNU General Public License for more details.
24  *
25  * ============================================================ */
26 
27 #ifndef DIGIKAM_CAL_WIZARD_H
28 #define DIGIKAM_CAL_WIZARD_H
29 
30 // Qt includes
31 
32 #include <QMap>
33 
34 // Local includes
35 
36 #include "dwizarddlg.h"
37 #include "dwizardpage.h"
38 #include "dinfointerface.h"
39 
40 using namespace Digikam;
41 
43 {
44 
45 class CalWizard : public DWizardDlg
46 {
47  Q_OBJECT
48 
49 public:
50 
51  explicit CalWizard(QWidget* const parent, DInfoInterface* const iface = nullptr);
52  ~CalWizard() override;
53 
54  DInfoInterface* iface() const;
55 
56 private:
57 
58  void print();
59 
60 private Q_SLOTS:
61 
62  void slotPageSelected(int current);
63  void printComplete();
64  void updatePage(int page);
65 
66 private:
67 
68  class Private;
69  Private* const d;
70 };
71 
72 } // Namespace Digikam
73 
74 #endif // DIGIKAM_CAL_WIZARD_H
Definition: calwizard.h:46
Definition: dinfointerface.h:56
Definition: dwizarddlg.h:40
Definition: calendarplugin.cpp:38
Definition: datefolderview.cpp:43