kmail
expirypropertiesdialog.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef EXPIRYPROPERTIESDIALOG_H
00011 #define EXPIRYPROPERTIESDIALOG_H
00012
00013 #include <qvariant.h>
00014 #include <kdialogbase.h>
00015
00016 class QVBoxLayout;
00017 class QHBoxLayout;
00018 class QGridLayout;
00019 class QSpacerItem;
00020 class QGroupBox;
00021 class QCheckBox;
00022 class QSpinBox;
00023 class QLabel;
00024 class QRadioButton;
00025 class QButtonGroup;
00026 class KMFolderTree;
00027 class KMFolder;
00028
00029 namespace KMail {
00030
00031 class FolderRequester;
00032
00033 class ExpiryPropertiesDialog : public KDialogBase
00034 {
00035 Q_OBJECT
00036
00037 public:
00038 ExpiryPropertiesDialog( KMFolderTree* tree, KMFolder* folder );
00039 ~ExpiryPropertiesDialog();
00040
00041 QCheckBox* expireReadMailCB;
00042 QSpinBox* expireReadMailSB;
00043 QLabel* labelDays;
00044 QCheckBox* expireUnreadMailCB;
00045 QSpinBox* expireUnreadMailSB;
00046 QLabel* labelDays2;
00047 QLabel* expiryActionLabel;
00048 QRadioButton* moveToRB;
00049 FolderRequester *folderSelector;
00050 QRadioButton* deletePermanentlyRB;
00051 QLabel* note;
00052 QButtonGroup* actionsGroup;
00053
00054 protected slots:
00055 void slotOk();
00056 void slotUpdateControls();
00057
00058 protected:
00059 QVBoxLayout* globalVBox;
00060 QHBoxLayout* readHBox;
00061 QHBoxLayout* unreadHBox;
00062 QHBoxLayout* expiryActionHBox;
00063 QVBoxLayout* actionsHBox;
00064 QHBoxLayout* moveToHBox;
00065 KMFolder* mFolder;
00066 };
00067 }
00068 #endif // EXPIRYPROPERTIESDIALOG_H
|