CalendarDemo

 // Copyright (C) 2026 The Qt Company Ltd.
 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
 #ifndef ADDCALENDARPAGE_H
 #define ADDCALENDARPAGE_H

 #include <QWidget>
 #include <QtOrganizer/qorganizercollection.h>

 class QOrganizerManager;
 class QOrganizerCollection;

 QTORGANIZER_USE_NAMESPACE

 class QComboBox;
 class QLineEdit;
 class QCheckBox;
 class QVBoxLayout;
 class QString;

 class AddCalendarPage : public QWidget
 {
     Q_OBJECT

 public:
     AddCalendarPage(QWidget *parent = Q_NULLPTR);
     ~AddCalendarPage();

 public Q_SLOTS:
     void cancelClicked();
     void saveClicked();
     void calendarChanged(QOrganizerManager *manager, QOrganizerCollection& calendar);

 Q_SIGNALS:
     void showPreviousPage();

 private:
     QOrganizerManager *m_manager;
     QOrganizerCollection m_collection;
 };

 #endif // ADDCALENDARPAGE_H