summaryrefslogtreecommitdiffstats
path: root/kmail/expirypropertiesdialog.h
blob: 9ac32500ebe29c4873acc0f7dda36ad6f3e206fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/****************************************************************************
** Form interface generated from reading ui file 'expirypropertiesdialog.ui'
**
** Created: Sat Jan 29 12:59:18 2005
**      by: The User Interface Compiler ($Id$)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef EXPIRYPROPERTIESDIALOG_H
#define EXPIRYPROPERTIESDIALOG_H

#include <qvariant.h>
#include <kdialogbase.h>

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QGroupBox;
class QCheckBox;
class QSpinBox;
class QLabel;
class QRadioButton;
class QButtonGroup;
class KMFolderTree;
class KMFolder;

namespace KMail {

  class FolderRequester;

class ExpiryPropertiesDialog : public KDialogBase
{
    Q_OBJECT

public:
    ExpiryPropertiesDialog( KMFolderTree* tree, KMFolder* folder );
    ~ExpiryPropertiesDialog();

    QCheckBox* expireReadMailCB;
    QSpinBox* expireReadMailSB;
    QLabel* labelDays;
    QCheckBox* expireUnreadMailCB;
    QSpinBox* expireUnreadMailSB;
    QLabel* labelDays2;
    QLabel* expiryActionLabel;
    QRadioButton* moveToRB;
    FolderRequester *folderSelector;
    QRadioButton* deletePermanentlyRB;
    QLabel* note;
    QButtonGroup* actionsGroup;

protected slots:
    void slotOk();
    void slotUpdateControls();

protected:
    QVBoxLayout* globalVBox;
    QHBoxLayout* readHBox;
    QHBoxLayout* unreadHBox;
    QHBoxLayout* expiryActionHBox;
    QVBoxLayout* actionsHBox;
    QHBoxLayout* moveToHBox;
    KMFolder* mFolder;
};
} // namespace
#endif // EXPIRYPROPERTIESDIALOG_H