digiKam
caltemplate.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 : template selection for calendar.
8  *
9  * Copyright (C) 2003-2005 by Renchi Raju <renchi dot raju at gmail dot com>
10  * Copyright (C) 2007-2008 by Orgad Shaneh <orgads at gmail dot com>
11  * Copyright (C) 2012 by Angelo Naselli <anaselli at linux dot it>
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_CAL_TEMPLATE_H
27 #define DIGIKAM_CAL_TEMPLATE_H
28 
29 // Qt includes
30 
31 #include <QWidget>
32 #include <QList>
33 #include <QUrl>
34 
35 // Local include
36 
37 #include "ui_caltemplate.h"
38 
40 {
41 
42 class CalTemplate : public QWidget
43 {
44  Q_OBJECT
45 
46 public:
47 
48  explicit CalTemplate(const QList<QUrl>& urlList, QWidget* const parent);
49  ~CalTemplate() override;
50 
51 private Q_SLOTS:
52 
53  void yearChanged(int year);
54  void monthChanged(int);
55 
56 private:
57 
58  class Private;
59  Private* const d;
60 };
61 
62 } // Namespace Digikam
63 
64 #endif // DIGIKAM_CAL_TEMPLATE_H
Definition: caltemplate.h:43
CalTemplate(const QList< QUrl > &urlList, QWidget *const parent)
Definition: caltemplate.cpp:58
~CalTemplate() override
Definition: caltemplate.cpp:145
Definition: calendarplugin.cpp:38