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
00038
class QLineEdit;
00039
class KMFolderComboBox;
00040
class QCheckBox;
00041
class QComboBox;
00042
class QString;
00043
class QStringList;
00044
namespace Kleo {
00045
class EncryptionKeyRequester;
00046
class SigningKeyRequester;
00047 }
00048
namespace KPIM {
00049
class Identity;
00050 }
00051
namespace KMail {
00052
class SignatureConfigurator;
00053
class DictionaryComboBox;
00054 }
00055
00056
namespace KMail {
00057
00058
class IdentityDialog :
public KDialogBase {
00059 Q_OBJECT
00060
public:
00061 IdentityDialog(
QWidget * parent=0,
const char * name = 0 );
00062
virtual ~IdentityDialog();
00063
00064
void setIdentity( KPIM::Identity & ident );
00065
00066
void updateIdentity( KPIM::Identity & ident );
00067
00068
public slots:
00069
void slotUpdateTransportCombo(
const QStringList & sl );
00070
00071
protected slots:
00072
void slotAboutToShow(
QWidget * w );
00074
void slotOk();
00075
00076
private:
00077
bool checkFolderExists(
const QString & folder,
const QString & msg );
00078
00079
protected:
00080
00081
QLineEdit *mNameEdit;
00082
QLineEdit *mOrganizationEdit;
00083
QLineEdit *mEmailEdit;
00084
00085
QWidget *mCryptographyTab;
00086 Kleo::SigningKeyRequester *mPGPSigningKeyRequester;
00087 Kleo::EncryptionKeyRequester *mPGPEncryptionKeyRequester;
00088 Kleo::SigningKeyRequester *mSMIMESigningKeyRequester;
00089 Kleo::EncryptionKeyRequester *mSMIMEEncryptionKeyRequester;
00090
QComboBox *mPreferredCryptoMessageFormat;
00091
00092
QLineEdit *mReplyToEdit;
00093
QLineEdit *mBccEdit;
00094
KMail::DictionaryComboBox *mDictionaryCombo;
00095 KMFolderComboBox *mFccCombo;
00096 KMFolderComboBox *mDraftsCombo;
00097
QCheckBox *mTransportCheck;
00098
QComboBox *mTransportCombo;
00099
00100 KMail::SignatureConfigurator *mSignatureConfigurator;
00101 };
00102
00103 }
00104
00105
#endif // __KMAIL_IDENTITYDIALOG_H__