00001
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
00030
00031
00032
#ifndef __KMAIL_IDENTITYDIALOG_H__
00033
#define __KMAIL_IDENTITYDIALOG_H__
00034
00035
#include <kdialogbase.h>
00036
00037
class KMIdentity;
00038
class QLineEdit;
00039
class KMFolderComboBox;
00040
class QCheckBox;
00041
class QComboBox;
00042
class QString;
00043
class QStringList;
00044
namespace Kpgp {
00045
class SecretKeyRequester;
00046 }
00047
namespace KMail {
00048
class SignatureConfigurator;
00049
class DictionaryComboBox;
00050 }
00051
00052
namespace KMail {
00053
00054
class IdentityDialog :
public KDialogBase {
00055 Q_OBJECT
00056
public:
00057 IdentityDialog( QWidget * parent=0,
const char * name = 0 );
00058
virtual ~IdentityDialog();
00059
00060
void setIdentity(
KMIdentity & ident );
00061
00062
void updateIdentity(
KMIdentity & ident );
00063
00064
public slots:
00065
void slotUpdateTransportCombo(
const QStringList & sl );
00066
00067
protected:
00068
bool checkFolderExists(
const QString & folder,
const QString & msg );
00069
00070
protected:
00071
00072 QLineEdit *mNameEdit;
00073 QLineEdit *mOrganizationEdit;
00074 QLineEdit *mEmailEdit;
00075
00076 QLineEdit *mReplyToEdit;
00077 QLineEdit *mBccEdit;
00078 Kpgp::SecretKeyRequester *mPgpKeyRequester;
00079
KMail::DictionaryComboBox *mDictionaryCombo;
00080 KMFolderComboBox *mFccCombo;
00081 KMFolderComboBox *mDraftsCombo;
00082 QCheckBox *mTransportCheck;
00083 QComboBox *mTransportCombo;
00084
00085 KMail::SignatureConfigurator *mSignatureConfigurator;
00086 };
00087
00088 }
00089
00090
#endif // __KMAIL_IDENTITYDIALOG_H__