summaryrefslogtreecommitdiffstats
path: root/kmail/expirypropertiesdialog.h
blob: d23bab2a0d38e2b2fafebbb4a67e6ecb1011fcd7 (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 <tqvariant.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();

    TQCheckBox* expireReadMailCB;
    TQSpinBox* expireReadMailSB;
    TQLabel* labelDays;
    TQCheckBox* expireUnreadMailCB;
    TQSpinBox* expireUnreadMailSB;
    TQLabel* labelDays2;
    TQLabel* expiryActionLabel;
    TQRadioButton* moveToRB;
    FolderRequester *folderSelector;
    TQRadioButton* deletePermanentlyRB;
    TQLabel* note;
    TQButtonGroup* actionsGroup;

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

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