CalendarSupport

archivedialog.h
1/*
2 SPDX-FileCopyrightText: 2000, 2001 Cornelius Schumacher <schumacher@kde.org>
3 SPDX-FileCopyrightText: 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
4
5 SPDX-License-Identifier: GPL-2.0-or-later WITH Qt-Commercial-exception-1.0
6*/
7#pragma once
8
9#include "calendarsupport_export.h"
10
11#include <Akonadi/ETMCalendar>
12#include <QDialog>
13
14class QComboBox;
15class KDateComboBox;
16class QSpinBox;
17class KUrlRequester;
18
19class QCheckBox;
20class QRadioButton;
21class QPushButton;
22
23namespace Akonadi
24{
25class IncidenceChanger;
26class ETMCalendar;
27}
28
29namespace CalendarSupport
30{
31class CALENDARSUPPORT_EXPORT ArchiveDialog : public QDialog
32{
33 Q_OBJECT
34public:
35 ArchiveDialog(const Akonadi::ETMCalendar::Ptr &calendar, Akonadi::IncidenceChanger *changer, QWidget *parent = nullptr);
36 ~ArchiveDialog() override;
37
38Q_SIGNALS:
39 // connected by KODialogManager to CalendarView
40 void eventsDeleted();
41 void autoArchivingSettingsModified();
42
43private:
44 CALENDARSUPPORT_NO_EXPORT void slotEventsDeleted();
45 CALENDARSUPPORT_NO_EXPORT void slotUser1();
46 CALENDARSUPPORT_NO_EXPORT void slotEnableUser1();
47 CALENDARSUPPORT_NO_EXPORT void slotActionChanged();
48 CALENDARSUPPORT_NO_EXPORT void showWhatsThis();
49 KUrlRequester *mArchiveFile = nullptr;
50 KDateComboBox *mDateEdit = nullptr;
51 QCheckBox *mDeleteCb = nullptr;
52 QRadioButton *mArchiveOnceRB = nullptr;
53 QRadioButton *mAutoArchiveRB = nullptr;
54 QSpinBox *mExpiryTimeNumInput = nullptr;
55 QComboBox *mExpiryUnitsComboBox = nullptr;
56 QCheckBox *mEvents = nullptr;
57 QCheckBox *mTodos = nullptr;
58 Akonadi::IncidenceChanger *mChanger = nullptr;
60 QPushButton *const mUser1Button;
61};
62}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:13:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.