32 #ifndef KMAIL_IDENTITYDIALOG_H
33 #define KMAIL_IDENTITYDIALOG_H
38 class KEditListWidget;
48 namespace KIdentityManagement {
50 class SignatureConfigurator;
53 class XFaceConfigurator;
56 namespace MailCommon {
57 class FolderRequester;
60 class DictionaryComboBox;
63 namespace MailTransport {
64 class TransportComboBox;
67 namespace TemplateParser {
68 class TemplatesConfiguration;
72 class AutoCorrectionLanguage;
76 class IdentityFolderRequester;
77 class IdentityInvalidFolder;
78 class KeySelectionCombo;
87 void setIdentity( KIdentityManagement::Identity &ident);
92 void slotAboutToShow(
int);
94 void slotCopyGlobal();
96 void slotDelayedButtonClicked(
KJob *);
98 void slotRefreshDefaultDomainName();
99 void slotVCardRemoved();
102 Q_REQUIRED_RESULT
bool keyMatchesEmailAddress(
const GpgME::Key &key,
const QString &email);
103 Q_REQUIRED_RESULT
bool checkFolderExists(
const QString &folder);
104 Q_REQUIRED_RESULT
bool validateAddresses(
const QString &addresses);
105 void updateVcardButton();
106 void editVcard(
const QString &filename);
107 void unregisterSpecialCollection(qint64
id);
112 KLineEdit *mNameEdit =
nullptr;
113 KLineEdit *mOrganizationEdit =
nullptr;
114 KLineEdit *mEmailEdit =
nullptr;
115 KEditListWidget *mAliasEdit =
nullptr;
117 QWidget *mCryptographyTab =
nullptr;
118 KeySelectionCombo *mPGPSigningKeyRequester =
nullptr;
119 KeySelectionCombo *mPGPEncryptionKeyRequester =
nullptr;
120 KeySelectionCombo *mSMIMESigningKeyRequester =
nullptr;
121 KeySelectionCombo *mSMIMEEncryptionKeyRequester =
nullptr;
122 QComboBox *mPreferredCryptoMessageFormat =
nullptr;
126 KLineEdit *mReplyToEdit =
nullptr;
127 KLineEdit *mBccEdit =
nullptr;
128 KLineEdit *mCcEdit =
nullptr;
129 Sonnet::DictionaryComboBox *mDictionaryCombo =
nullptr;
131 QCheckBox *mSentMailFolderCheck =
nullptr;
135 MailTransport::TransportComboBox *mTransportCombo =
nullptr;
138 PimCommon::AutoCorrectionLanguage *mAutoCorrectionLanguage =
nullptr;
139 KLineEdit *mDefaultDomainEdit =
nullptr;
142 TemplateParser::TemplatesConfiguration *mWidget =
nullptr;
146 KIdentityManagement::SignatureConfigurator *mSignatureConfigurator =
nullptr;
154 #endif // KMAIL_IDENTITYDIALOG_H
IdentityDialog(QWidget *parent=nullptr)
void updateIdentity(KIdentityManagement::Identity &ident)
void setIdentity(KIdentityManagement::Identity &ident)