You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

42 lines
869 B

#ifndef EXPIRYPROPERTIESDIALOG_H
#define EXPIRYPROPERTIESDIALOG_H
#include <kdialog.h>
#include <QSharedPointer>
class QCheckBox;
class QRadioButton;
class KIntSpinBox;
class FolderCollection;
namespace KMail {
class FolderRequester;
class ExpiryPropertiesDialog : public KDialog
{
Q_OBJECT
public:
ExpiryPropertiesDialog(
QWidget *tree,
const QSharedPointer<FolderCollection> &folder );
~ExpiryPropertiesDialog();
protected slots:
void accept();
void slotUpdateControls();
private:
QSharedPointer<FolderCollection> mFolder;
QCheckBox *expireReadMailCB;
KIntSpinBox *expireReadMailSB;
QCheckBox *expireUnreadMailCB;
KIntSpinBox *expireUnreadMailSB;
QRadioButton *moveToRB;
FolderRequester *folderSelector;
QRadioButton *deletePermanentlyRB;
};
} // namespace
#endif // EXPIRYPROPERTIESDIALOG_H