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