File indexing completed on 2025-01-05 03:52:00
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2003-11-03 0007 * Description : template selection for calendar. 0008 * 0009 * SPDX-FileCopyrightText: 2003-2005 by Renchi Raju <renchi dot raju at gmail dot com> 0010 * SPDX-FileCopyrightText: 2007-2008 by Orgad Shaneh <orgads at gmail dot com> 0011 * SPDX-FileCopyrightText: 2012 by Angelo Naselli <anaselli at linux dot it> 0012 * SPDX-FileCopyrightText: 2012-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0013 * 0014 * SPDX-License-Identifier: GPL-2.0-or-later 0015 * 0016 * ============================================================ */ 0017 0018 #ifndef DIGIKAM_CAL_TEMPLATE_H 0019 #define DIGIKAM_CAL_TEMPLATE_H 0020 0021 // Qt includes 0022 0023 #include <QWidget> 0024 #include <QList> 0025 #include <QUrl> 0026 0027 // Local include 0028 0029 #include "ui_caltemplate.h" 0030 0031 namespace DigikamGenericCalendarPlugin 0032 { 0033 0034 class CalTemplate : public QWidget 0035 { 0036 Q_OBJECT 0037 0038 public: 0039 0040 explicit CalTemplate(const QList<QUrl>& urlList, QWidget* const parent); 0041 ~CalTemplate() override; 0042 0043 private Q_SLOTS: 0044 0045 void yearChanged(int year); 0046 void monthChanged(int); 0047 0048 private: 0049 0050 class Private; 0051 Private* const d; 0052 }; 0053 0054 } // Namespace Digikam 0055 0056 #endif // DIGIKAM_CAL_TEMPLATE_H