summaryrefslogtreecommitdiffstats
path: root/kmail/expirypropertiesdialog.h
blob: d3ef7cfd3768655a49acaaf140f8d72bd27249dd (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 TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQGroupBox;
class TQCheckBox;
class TQSpinBox;
class TQLabel;
class TQRadioButton;
class TQButtonGroup;
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