kmail
mailinglistpropertiesdialog.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef MAILINGLISTFOLDERPROPERTIESDIALOG_H
00030 #define MAILINGLISTFOLDERPROPERTIESDIALOG_H
00031
00032 #include "mailinglist-magic.h"
00033 #include <kdialogbase.h>
00034
00035 class KMFolder;
00036 class QCheckBox;
00037 class QComboBox;
00038 class QPushButton;
00039 class QLabel;
00040 class KEditListBox;
00041
00042 namespace KMail
00043 {
00044
00045 class MailingListFolderPropertiesDialog : public KDialogBase
00046 {
00047 Q_OBJECT
00048 public:
00049 MailingListFolderPropertiesDialog( QWidget *parent, KMFolder *folder );
00050 ~MailingListFolderPropertiesDialog() {};
00051 protected:
00052 void load();
00053 bool save();
00054
00055 protected slots:
00056 void slotOk();
00057
00058 private slots:
00059
00060
00061
00062 void slotDetectMailingList();
00063 void slotInvokeHandler();
00064 void slotMLHandling( int element );
00065 void slotHoldsML( bool holdsML );
00066 void slotAddressChanged( int addr );
00067
00068 private:
00069 KMFolder *mFolder;
00070 void fillMLFromWidgets();
00071 void fillEditBox();
00072
00073 bool mMLInfoChanged;
00074 QCheckBox *mHoldsMailingList;
00075 QComboBox *mMLHandlerCombo;
00076 QPushButton *mDetectButton;
00077 QComboBox *mAddressCombo;
00078 int mLastItem;
00079 KEditListBox *mEditList;
00080 QLabel *mMLId;
00081 MailingList mMailingList;
00082 };
00083
00084 }
00085
00086
00087 #endif // MAILINGLISTFOLDERPROPERTIESDIALOG_H
|