kmail

expirypropertiesdialog.h
00001 /****************************************************************************
00002 ** Form interface generated from reading ui file 'expirypropertiesdialog.ui'
00003 **
00004 ** Created: Sat Jan 29 12:59:18 2005
00005 **      by: The User Interface Compiler ($Id$)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 ****************************************************************************/
00009 
00010 #ifndef EXPIRYPROPERTIESDIALOG_H
00011 #define EXPIRYPROPERTIESDIALOG_H
00012 
00013 #include <tqvariant.h>
00014 #include <kdialogbase.h>
00015 
00016 class TQVBoxLayout;
00017 class TQHBoxLayout;
00018 class TQGridLayout;
00019 class TQSpacerItem;
00020 class TQGroupBox;
00021 class TQCheckBox;
00022 class TQSpinBox;
00023 class TQLabel;
00024 class TQRadioButton;
00025 class TQButtonGroup;
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   TQ_OBJECT
00037 
00038 public:
00039     ExpiryPropertiesDialog( KMFolderTree* tree, KMFolder* folder );
00040     ~ExpiryPropertiesDialog();
00041 
00042     TQCheckBox* expireReadMailCB;
00043     TQSpinBox* expireReadMailSB;
00044     TQLabel* labelDays;
00045     TQCheckBox* expireUnreadMailCB;
00046     TQSpinBox* expireUnreadMailSB;
00047     TQLabel* labelDays2;
00048     TQLabel* expiryActionLabel;
00049     TQRadioButton* moveToRB;
00050     FolderRequester *folderSelector;
00051     TQRadioButton* deletePermanentlyRB;
00052     TQLabel* note;
00053     TQButtonGroup* actionsGroup;
00054 
00055 protected slots:
00056     void slotOk();
00057     void slotUpdateControls();
00058 
00059 protected:
00060     TQVBoxLayout* globalVBox;
00061     TQHBoxLayout* readHBox;
00062     TQHBoxLayout* unreadHBox;
00063     TQHBoxLayout* expiryActionHBox;
00064     TQVBoxLayout* actionsHBox;
00065     TQHBoxLayout* moveToHBox;
00066     KMFolder* mFolder;
00067 };
00068 } // namespace
00069 #endif // EXPIRYPROPERTIESDIALOG_H