kmail

mailinglistpropertiesdialog.h
1/*******************************************************************************
2**
3** Filename : mailinglistpropertiesdialog.h
4** Created on : 30 January, 2005
5** Copyright : (c) 2005 Till Adam
6** Email : adam@kde.org
7**
8*******************************************************************************/
9
10/*******************************************************************************
11**
12** This program is free software; you can redistribute it and/or modify
13** it under the terms of the GNU General Public License as published by
14** the Free Software Foundation; either version 2 of the License, or
15** (at your option) any later version.
16**
17** In addition, as a special exception, the copyright holders give
18** permission to link the code of this program with any edition of
19** the TQt library by Trolltech AS, Norway (or with modified versions
20** of TQt that use the same license as TQt), and distribute linked
21** combinations including the two. You must obey the GNU General
22** Public License in all respects for all of the code used other than
23** TQt. If you modify this file, you may extend this exception to
24** your version of the file, but you are not obligated to do so. If
25** you do not wish to do so, delete this exception statement from
26** your version.
27*******************************************************************************/
28
29#ifndef MAILINGLISTFOLDERPROPERTIESDIALOG_H
30#define MAILINGLISTFOLDERPROPERTIESDIALOG_H
31
32#include "mailinglist-magic.h"
33#include <kdialogbase.h> // include for the base class
34
35class KMFolder;
36class TQCheckBox;
37class TQComboBox;
38class TQPushButton;
39class TQLabel;
40class KEditListBox;
41
42namespace KMail
43{
44
45class MailingListFolderPropertiesDialog : public KDialogBase
46{
47 TQ_OBJECT
48
49public:
50 MailingListFolderPropertiesDialog( TQWidget *parent, KMFolder *folder );
51 ~MailingListFolderPropertiesDialog() {};
52protected:
53 void load();
54 bool save();
55
56protected slots:
57 void slotOk();
58
59private slots:
60 /*
61 * Detects mailing-list related stuff
62 */
63 void slotDetectMailingList();
64 void slotInvokeHandler();
65 void slotMLHandling( int element );
66 void slotHoldsML( bool holdsML );
67 void slotAddressChanged( int addr );
68
69private:
70 KMFolder *mFolder;
71 void fillMLFromWidgets();
72 void fillEditBox();
73
74 bool mMLInfoChanged;
75 TQCheckBox *mHoldsMailingList;
76 TQComboBox *mMLHandlerCombo;
77 TQPushButton *mDetectButton;
78 TQComboBox *mAddressCombo;
79 int mLastItem;
80 KEditListBox *mEditList;
81 TQLabel *mMLId;
82 MailingList mMailingList;
83}; // End of class MailingListFolderProperties
84
85} // End of namespace KMail
86
87
88#endif // MAILINGLISTFOLDERPROPERTIESDIALOG_H
Mail folder.
Definition: kmfolder.h:69
folderdiaquotatab.h
Definition: aboutdata.cpp:40