korganizer
archivedialog.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef ARCHIVEDIALOG_H
00026 #define ARCHIVEDIALOG_H
00027
00028 #include <kdialog.h>
00029
00030 class QRadioButton;
00031 class KComboBox;
00032 class KIntNumInput;
00033 class KUrlRequester;
00034 class QCheckBox;
00035
00036 namespace KPIM {
00037 class KDateEdit;
00038 }
00039 namespace KCal {
00040 class Calendar;
00041 }
00042 using namespace KCal;
00043
00044 class ArchiveDialog : public KDialog
00045 {
00046 Q_OBJECT
00047 public:
00048 explicit ArchiveDialog( Calendar *calendar, QWidget *parent=0 );
00049 virtual ~ArchiveDialog();
00050
00051 signals:
00052
00053 void eventsDeleted();
00054 void autoArchivingSettingsModified();
00055
00056 protected slots:
00057 void slotEventsDeleted();
00058 void slotUser1();
00059 void slotEnableUser1();
00060 void slotActionChanged();
00061
00062 private:
00063 KUrlRequester *mArchiveFile;
00064 KPIM::KDateEdit *mDateEdit;
00065 QCheckBox *mDeleteCb;
00066 QRadioButton *mArchiveOnceRB;
00067 QRadioButton *mAutoArchiveRB;
00068 KIntNumInput *mExpiryTimeNumInput;
00069 KComboBox *mExpiryUnitsComboBox;
00070 QCheckBox *mEvents;
00071 QCheckBox *mTodos;
00072
00073 Calendar *mCalendar;
00074 };
00075
00076 #endif