kmail Library API Documentation

signatureconfigurationdialog.cpp

00001 #include <kdialog.h> 00002 #include <klocale.h> 00003 /**************************************************************************** 00004 ** Form implementation generated from reading ui file './signatureconfigurationdialog.ui' 00005 ** 00006 ** Created: Fri Oct 1 15:06:17 2004 00007 ** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $) 00008 ** 00009 ** WARNING! All changes made in this file will be lost! 00010 ****************************************************************************/ 00011 00012 #include "signatureconfigurationdialog.h" 00013 00014 #include <qvariant.h> 00015 #include <qpushbutton.h> 00016 #include <qbuttongroup.h> 00017 #include <qradiobutton.h> 00018 #include <qlabel.h> 00019 #include <qcombobox.h> 00020 #include <qcheckbox.h> 00021 #include <qspinbox.h> 00022 #include <qgroupbox.h> 00023 #include <qlayout.h> 00024 #include <qtooltip.h> 00025 #include <qwhatsthis.h> 00026 00027 /* 00028 * Constructs a SignatureConfigurationDialog as a child of 'parent', with the 00029 * name 'name' and widget flags set to 'f'. 00030 */ 00031 SignatureConfigurationDialog::SignatureConfigurationDialog( QWidget* parent, const char* name, WFlags fl ) 00032 : QWidget( parent, name, fl ) 00033 { 00034 if ( !name ) 00035 setName( "SignatureConfigurationDialog" ); 00036 SignatureConfigurationDialogLayout = new QGridLayout( this, 1, 1, 11, 6, "SignatureConfigurationDialogLayout"); 00037 00038 sendCertificatesBG = new QButtonGroup( this, "sendCertificatesBG" ); 00039 sendCertificatesBG->setColumnLayout(0, Qt::Vertical ); 00040 sendCertificatesBG->layout()->setSpacing( 6 ); 00041 sendCertificatesBG->layout()->setMargin( 11 ); 00042 sendCertificatesBGLayout = new QVBoxLayout( sendCertificatesBG->layout() ); 00043 sendCertificatesBGLayout->setAlignment( Qt::AlignTop ); 00044 00045 dontSendCertificatesRB = new QRadioButton( sendCertificatesBG, "dontSendCertificatesRB" ); 00046 dontSendCertificatesRB->setFocusPolicy( QRadioButton::NoFocus ); 00047 sendCertificatesBGLayout->addWidget( dontSendCertificatesRB ); 00048 00049 sendYourOwnCertificateRB = new QRadioButton( sendCertificatesBG, "sendYourOwnCertificateRB" ); 00050 sendYourOwnCertificateRB->setChecked( TRUE ); 00051 sendCertificatesBGLayout->addWidget( sendYourOwnCertificateRB ); 00052 00053 sendChainWithoutRootRB = new QRadioButton( sendCertificatesBG, "sendChainWithoutRootRB" ); 00054 sendCertificatesBGLayout->addWidget( sendChainWithoutRootRB ); 00055 00056 sendChainWithRootRB = new QRadioButton( sendCertificatesBG, "sendChainWithRootRB" ); 00057 sendCertificatesBGLayout->addWidget( sendChainWithRootRB ); 00058 00059 SignatureConfigurationDialogLayout->addWidget( sendCertificatesBG, 0, 1 ); 00060 Spacer1_2_2_2 = new QSpacerItem( 20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum ); 00061 SignatureConfigurationDialogLayout->addItem( Spacer1_2_2_2, 0, 0 ); 00062 00063 pinEntryBG = new QButtonGroup( this, "pinEntryBG" ); 00064 pinEntryBG->setColumnLayout(0, Qt::Vertical ); 00065 pinEntryBG->layout()->setSpacing( 6 ); 00066 pinEntryBG->layout()->setMargin( 11 ); 00067 pinEntryBGLayout = new QGridLayout( pinEntryBG->layout() ); 00068 pinEntryBGLayout->setAlignment( Qt::AlignTop ); 00069 Spacer22 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00070 pinEntryBGLayout->addItem( Spacer22, 1, 2 ); 00071 00072 signAllPartsRB = new QRadioButton( pinEntryBG, "signAllPartsRB" ); 00073 signAllPartsRB->setChecked( TRUE ); 00074 00075 pinEntryBGLayout->addMultiCellWidget( signAllPartsRB, 2, 2, 0, 1 ); 00076 00077 askEachPartRB = new QRadioButton( pinEntryBG, "askEachPartRB" ); 00078 00079 pinEntryBGLayout->addMultiCellWidget( askEachPartRB, 3, 3, 0, 1 ); 00080 00081 dontSignRB = new QRadioButton( pinEntryBG, "dontSignRB" ); 00082 00083 pinEntryBGLayout->addMultiCellWidget( dontSignRB, 4, 4, 0, 1 ); 00084 00085 TextLabel1 = new QLabel( pinEntryBG, "TextLabel1" ); 00086 TextLabel1->setAlignment( int( QLabel::AlignVCenter ) ); 00087 00088 pinEntryBGLayout->addMultiCellWidget( TextLabel1, 0, 0, 0, 2 ); 00089 00090 signatureAlgorithmCO = new QComboBox( FALSE, pinEntryBG, "signatureAlgorithmCO" ); 00091 00092 pinEntryBGLayout->addWidget( signatureAlgorithmCO, 1, 1 ); 00093 00094 signatureAlgorithmLA = new QLabel( pinEntryBG, "signatureAlgorithmLA" ); 00095 signatureAlgorithmLA->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) ); 00096 00097 pinEntryBGLayout->addWidget( signatureAlgorithmLA, 1, 0 ); 00098 00099 saveSentSigsCB = new QCheckBox( pinEntryBG, "saveSentSigsCB" ); 00100 saveSentSigsCB->setChecked( TRUE ); 00101 00102 pinEntryBGLayout->addMultiCellWidget( saveSentSigsCB, 5, 5, 0, 1 ); 00103 00104 sigCompoundModeBG = new QButtonGroup( pinEntryBG, "sigCompoundModeBG" ); 00105 sigCompoundModeBG->setFrameShape( QButtonGroup::NoFrame ); 00106 00107 TextLabel4 = new QLabel( sigCompoundModeBG, "TextLabel4" ); 00108 TextLabel4->setGeometry( QRect( 1, 1, 564, 16 ) ); 00109 00110 sendSigMultiPartRB = new QRadioButton( sigCompoundModeBG, "sendSigMultiPartRB" ); 00111 sendSigMultiPartRB->setGeometry( QRect( 28, 23, 536, 20 ) ); 00112 00113 sendSigOpaqueRB = new QRadioButton( sigCompoundModeBG, "sendSigOpaqueRB" ); 00114 sendSigOpaqueRB->setGeometry( QRect( 28, 49, 536, 20 ) ); 00115 00116 pinEntryBGLayout->addMultiCellWidget( sigCompoundModeBG, 6, 6, 0, 2 ); 00117 00118 ButtonGroup15 = new QButtonGroup( pinEntryBG, "ButtonGroup15" ); 00119 ButtonGroup15->setFrameShape( QButtonGroup::NoFrame ); 00120 ButtonGroup15->setColumnLayout(0, Qt::Vertical ); 00121 ButtonGroup15->layout()->setSpacing( 6 ); 00122 ButtonGroup15->layout()->setMargin( 0 ); 00123 ButtonGroup15Layout = new QGridLayout( ButtonGroup15->layout() ); 00124 ButtonGroup15Layout->setAlignment( Qt::AlignTop ); 00125 00126 TextLabel5 = new QLabel( ButtonGroup15, "TextLabel5" ); 00127 00128 ButtonGroup15Layout->addMultiCellWidget( TextLabel5, 0, 0, 0, 3 ); 00129 00130 pinAddCertificatesRB = new QRadioButton( ButtonGroup15, "pinAddCertificatesRB" ); 00131 00132 ButtonGroup15Layout->addMultiCellWidget( pinAddCertificatesRB, 3, 3, 1, 3 ); 00133 00134 pinOncePerSessionRB = new QRadioButton( ButtonGroup15, "pinOncePerSessionRB" ); 00135 pinOncePerSessionRB->setFocusPolicy( QRadioButton::NoFocus ); 00136 00137 ButtonGroup15Layout->addMultiCellWidget( pinOncePerSessionRB, 1, 1, 1, 3 ); 00138 00139 pinAlwaysWhenSigningRB = new QRadioButton( ButtonGroup15, "pinAlwaysWhenSigningRB" ); 00140 00141 ButtonGroup15Layout->addMultiCellWidget( pinAlwaysWhenSigningRB, 4, 4, 1, 3 ); 00142 00143 pinAlwaysRB = new QRadioButton( ButtonGroup15, "pinAlwaysRB" ); 00144 pinAlwaysRB->setChecked( TRUE ); 00145 00146 ButtonGroup15Layout->addMultiCellWidget( pinAlwaysRB, 2, 2, 1, 3 ); 00147 Spacer1_2_2_3 = new QSpacerItem( 20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum ); 00148 ButtonGroup15Layout->addItem( Spacer1_2_2_3, 3, 0 ); 00149 00150 pinIntervalRB = new QRadioButton( ButtonGroup15, "pinIntervalRB" ); 00151 00152 ButtonGroup15Layout->addWidget( pinIntervalRB, 5, 1 ); 00153 00154 pinIntervalSB = new QSpinBox( ButtonGroup15, "pinIntervalSB" ); 00155 pinIntervalSB->setEnabled( FALSE ); 00156 pinIntervalSB->setValue( 10 ); 00157 00158 ButtonGroup15Layout->addWidget( pinIntervalSB, 5, 2 ); 00159 Spacer29 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00160 ButtonGroup15Layout->addItem( Spacer29, 5, 3 ); 00161 00162 pinEntryBGLayout->addMultiCellWidget( ButtonGroup15, 7, 7, 0, 2 ); 00163 00164 SignatureConfigurationDialogLayout->addMultiCellWidget( pinEntryBG, 0, 1, 0, 0 ); 00165 00166 signatureSettingsBG = new QGroupBox( this, "signatureSettingsBG" ); 00167 signatureSettingsBG->setColumnLayout(0, Qt::Vertical ); 00168 signatureSettingsBG->layout()->setSpacing( 6 ); 00169 signatureSettingsBG->layout()->setMargin( 11 ); 00170 signatureSettingsBGLayout = new QGridLayout( signatureSettingsBG->layout() ); 00171 signatureSettingsBGLayout->setAlignment( Qt::AlignTop ); 00172 00173 warnUnsignedCB = new QCheckBox( signatureSettingsBG, "warnUnsignedCB" ); 00174 warnUnsignedCB->setChecked( TRUE ); 00175 00176 signatureSettingsBGLayout->addMultiCellWidget( warnUnsignedCB, 0, 0, 0, 1 ); 00177 00178 warnCACertificateExpiresCB = new QCheckBox( signatureSettingsBG, "warnCACertificateExpiresCB" ); 00179 warnCACertificateExpiresCB->setChecked( TRUE ); 00180 00181 signatureSettingsBGLayout->addWidget( warnCACertificateExpiresCB, 3, 0 ); 00182 00183 warnSignatureCertificateExpiresSB = new QSpinBox( signatureSettingsBG, "warnSignatureCertificateExpiresSB" ); 00184 warnSignatureCertificateExpiresSB->setMaxValue( 999 ); 00185 warnSignatureCertificateExpiresSB->setValue( 14 ); 00186 00187 signatureSettingsBGLayout->addWidget( warnSignatureCertificateExpiresSB, 2, 1 ); 00188 00189 warnSignatureCertificateExpiresCB = new QCheckBox( signatureSettingsBG, "warnSignatureCertificateExpiresCB" ); 00190 warnSignatureCertificateExpiresCB->setChecked( TRUE ); 00191 00192 signatureSettingsBGLayout->addWidget( warnSignatureCertificateExpiresCB, 2, 0 ); 00193 00194 warnRootCertificateExpiresCB = new QCheckBox( signatureSettingsBG, "warnRootCertificateExpiresCB" ); 00195 warnRootCertificateExpiresCB->setChecked( TRUE ); 00196 00197 signatureSettingsBGLayout->addWidget( warnRootCertificateExpiresCB, 4, 0 ); 00198 00199 warnCACertificateExpiresSB = new QSpinBox( signatureSettingsBG, "warnCACertificateExpiresSB" ); 00200 warnCACertificateExpiresSB->setMaxValue( 999 ); 00201 warnCACertificateExpiresSB->setValue( 14 ); 00202 00203 signatureSettingsBGLayout->addWidget( warnCACertificateExpiresSB, 3, 1 ); 00204 00205 warnRootCertificateExpiresSB = new QSpinBox( signatureSettingsBG, "warnRootCertificateExpiresSB" ); 00206 warnRootCertificateExpiresSB->setMaxValue( 999 ); 00207 warnRootCertificateExpiresSB->setValue( 14 ); 00208 00209 signatureSettingsBGLayout->addWidget( warnRootCertificateExpiresSB, 4, 1 ); 00210 00211 warnAddressNotInCertificateCB = new QCheckBox( signatureSettingsBG, "warnAddressNotInCertificateCB" ); 00212 warnAddressNotInCertificateCB->setChecked( TRUE ); 00213 00214 signatureSettingsBGLayout->addMultiCellWidget( warnAddressNotInCertificateCB, 1, 1, 0, 1 ); 00215 00216 SignatureConfigurationDialogLayout->addWidget( signatureSettingsBG, 1, 1 ); 00217 Spacer19 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); 00218 SignatureConfigurationDialogLayout->addItem( Spacer19, 2, 0 ); 00219 languageChange(); 00220 resize( QSize(1018, 519).expandedTo(minimumSizeHint()) ); 00221 clearWState( WState_Polished ); 00222 00223 // signals and slots connections 00224 connect( warnSignatureCertificateExpiresCB, SIGNAL( toggled(bool) ), warnSignatureCertificateExpiresSB, SLOT( setEnabled(bool) ) ); 00225 connect( warnCACertificateExpiresCB, SIGNAL( toggled(bool) ), warnCACertificateExpiresSB, SLOT( setEnabled(bool) ) ); 00226 connect( warnRootCertificateExpiresCB, SIGNAL( toggled(bool) ), warnRootCertificateExpiresSB, SLOT( setEnabled(bool) ) ); 00227 connect( pinIntervalRB, SIGNAL( toggled(bool) ), pinIntervalSB, SLOT( setEnabled(bool) ) ); 00228 00229 // tab order 00230 setTabOrder( signAllPartsRB, askEachPartRB ); 00231 setTabOrder( askEachPartRB, dontSignRB ); 00232 setTabOrder( dontSignRB, warnUnsignedCB ); 00233 setTabOrder( warnUnsignedCB, dontSendCertificatesRB ); 00234 setTabOrder( dontSendCertificatesRB, sendYourOwnCertificateRB ); 00235 setTabOrder( sendYourOwnCertificateRB, sendChainWithoutRootRB ); 00236 setTabOrder( sendChainWithoutRootRB, sendChainWithRootRB ); 00237 setTabOrder( sendChainWithRootRB, signatureAlgorithmCO ); 00238 setTabOrder( signatureAlgorithmCO, warnSignatureCertificateExpiresCB ); 00239 setTabOrder( warnSignatureCertificateExpiresCB, warnSignatureCertificateExpiresSB ); 00240 setTabOrder( warnSignatureCertificateExpiresSB, warnCACertificateExpiresCB ); 00241 setTabOrder( warnCACertificateExpiresCB, warnCACertificateExpiresSB ); 00242 setTabOrder( warnCACertificateExpiresSB, warnRootCertificateExpiresCB ); 00243 setTabOrder( warnRootCertificateExpiresCB, warnRootCertificateExpiresSB ); 00244 setTabOrder( warnRootCertificateExpiresSB, warnAddressNotInCertificateCB ); 00245 setTabOrder( warnAddressNotInCertificateCB, pinOncePerSessionRB ); 00246 setTabOrder( pinOncePerSessionRB, pinAlwaysRB ); 00247 setTabOrder( pinAlwaysRB, pinAddCertificatesRB ); 00248 setTabOrder( pinAddCertificatesRB, pinAlwaysWhenSigningRB ); 00249 setTabOrder( pinAlwaysWhenSigningRB, pinIntervalRB ); 00250 setTabOrder( pinIntervalRB, pinIntervalSB ); 00251 setTabOrder( pinIntervalSB, saveSentSigsCB ); 00252 00253 // buddies 00254 signatureAlgorithmLA->setBuddy( signatureAlgorithmCO ); 00255 } 00256 00257 /* 00258 * Destroys the object and frees any allocated resources 00259 */ 00260 SignatureConfigurationDialog::~SignatureConfigurationDialog() 00261 { 00262 // no need to delete child widgets, Qt does it all for us 00263 } 00264 00265 /* 00266 * Sets the strings of the subwidgets using the current 00267 * language. 00268 */ 00269 void SignatureConfigurationDialog::languageChange() 00270 { 00271 setCaption( tr2i18n( "Signature Configuration" ) ); 00272 sendCertificatesBG->setTitle( tr2i18n( "Sending Certificates" ) ); 00273 dontSendCertificatesRB->setText( tr2i18n( "&Do not send certificates" ) ); 00274 QToolTip::add( dontSendCertificatesRB, tr2i18n( "Selects which certificates to send" ) ); 00275 QWhatsThis::add( dontSendCertificatesRB, tr2i18n( "<qt> <h1>Sending Certificates</h1> Without your certificate, the receiver will not be able to determine whether it was really you who sent the message or whether the message was altered by a third party. <p> The receiver can obtain your certificate from a central server, but you can also opt to enclose your certificate with your message. You can select whether you do not want to include a certificate at all, only your own certificate or the whole chain of certificates that certify your own certificate, including or excluding the root certificate. <p> It is recommended to always include at least your own certificate with the message. <p> This setting is a default, you can override it for each individual message. </qt>" ) ); 00276 sendYourOwnCertificateRB->setText( tr2i18n( "Send &your own certificate" ) ); 00277 QToolTip::add( sendYourOwnCertificateRB, tr2i18n( "Selects which certificates to send" ) ); 00278 QWhatsThis::add( sendYourOwnCertificateRB, tr2i18n( "<qt> <h1>Sending Certificates</h1> Without your certificate, the receiver will not be able to determine whether it was really you who sent the message or whether the message was altered by a third party. <p> The receiver can obtain your certificate from a central server, but you can also opt to enclose your certificate with your message. You can select whether you do not want to include a certificate at all, only your own certificate or the whole chain of certificates that certify your own certificate, including or excluding the root certificate. <p> It is recommended to always include at least your own certificate with the message. <p> This setting is a default, you can override it for each individual message. </qt>" ) ); 00279 sendChainWithoutRootRB->setText( tr2i18n( "Send certificate chain &without root" ) ); 00280 QToolTip::add( sendChainWithoutRootRB, tr2i18n( "Selects which certificates to send" ) ); 00281 QWhatsThis::add( sendChainWithoutRootRB, tr2i18n( "<qt> <h1>Sending Certificates</h1> Without your certificate, the receiver will not be able to determine whether it was really you who sent the message or whether the message was altered by a third party. <p> The receiver can obtain your certificate from a central server, but you can also opt to enclose your certificate with your message. You can select whether you do not want to include a certificate at all, only your own certificate or the whole chain of certificates that certify your own certificate, including or excluding the root certificate. <p> It is recommended to always include at least your own certificate with the message. <p> This setting is a default, you can override it for each individual message. </qt>" ) ); 00282 sendChainWithRootRB->setText( tr2i18n( "Send certificate c&hain with root" ) ); 00283 QToolTip::add( sendChainWithRootRB, tr2i18n( "Selects which certificates to send" ) ); 00284 QWhatsThis::add( sendChainWithRootRB, tr2i18n( "<qt> <h1>Sending Certificates</h1> Without your certificate, the receiver will not be able to determine whether it was really you who sent the message or whether the message was altered by a third party. <p> The receiver can obtain your certificate from a central server, but you can also opt to enclose your certificate with your message. You can select whether you do not want to include a certificate at all, only your own certificate or the whole chain of certificates that certify your own certificate, including or excluding the root certificate. <p> It is recommended to always include at least your own certificate with the message. <p> This setting is a default, you can override it for each individual message. </qt>" ) ); 00285 pinEntryBG->setTitle( tr2i18n( "Signatures" ) ); 00286 signAllPartsRB->setText( tr2i18n( "Sign all message &parts" ) ); 00287 QToolTip::add( signAllPartsRB, tr2i18n( "Check to have all message parts signed by default" ) ); 00288 QWhatsThis::add( signAllPartsRB, tr2i18n( "<qt>\n" 00289 "<h1>Sign All Message Parts By Default</h1>\n" 00290 "If this option is selected, all parts of a message (i.e. the main message body and all attachments) are signed by default.\n" 00291 "<p>\n" 00292 "This is a default setting, you can still override it for each individual message.\n" 00293 "</qt>" ) ); 00294 askEachPartRB->setText( tr2i18n( "Ask &before signing each part" ) ); 00295 QToolTip::add( askEachPartRB, tr2i18n( "Check to be asked for each part whether to sign" ) ); 00296 QWhatsThis::add( askEachPartRB, tr2i18n( "<qt>\n" 00297 "<h1>Ask Before Signing Each Part</h1>\n" 00298 "When this option is selected, you will be asked for each part of the message (i.e. the main message body as well as all attachments) individually whether you want the part to be signed.\n" 00299 "</qt>" ) ); 00300 dontSignRB->setText( tr2i18n( "Do no&t sign messages" ) ); 00301 QToolTip::add( dontSignRB, tr2i18n( "Check for not signing a message by default" ) ); 00302 QWhatsThis::add( dontSignRB, tr2i18n( "<qt>\n" 00303 "<h1>Do Not Sign Messages</h1>\n" 00304 "If this option is selected, messages are not signed by default.\n" 00305 "<p>\n" 00306 "This is a default setting, you can still override it for each individual setting.\n" 00307 "</qt>" ) ); 00308 TextLabel1->setText( tr2i18n( "The signature certificate is configured on the <em>Certificates</em> page." ) ); 00309 signatureAlgorithmCO->clear(); 00310 signatureAlgorithmCO->insertItem( tr2i18n( "RSA + SHA-1" ) ); 00311 QToolTip::add( signatureAlgorithmCO, tr2i18n( "Selects the signature algorithm" ) ); 00312 QWhatsThis::add( signatureAlgorithmCO, tr2i18n( "<qt>\n" 00313 "<h1>Signature Algorithm</h1>\n" 00314 "An algorithm is a description for the computer on how it should perform a certain task. The signature algorithm describes how the computer applies your signature key to your message so that the receiver can determine whether the message really is from you.\n" 00315 "<p>\n" 00316 "The selection of a certain signature algorithm determines how easy or how difficult it is to forge a message. However, all algorithms provided in the SPHINX environment are considered to be very safe. Generally, the default will work just fine here.\n" 00317 "<p>\n" 00318 "This setting is a default, you can override it for each individual message.\n" 00319 "</qt>" ) ); 00320 signatureAlgorithmLA->setText( tr2i18n( "Signature &algorithm:" ) ); 00321 saveSentSigsCB->setText( tr2i18n( "&Store messages with signatures" ) ); 00322 QToolTip::add( saveSentSigsCB, tr2i18n( "Check to store messages with their signatures" ) ); 00323 QWhatsThis::add( saveSentSigsCB, tr2i18n( "<qt>\n" 00324 "<h1>Store Messages With Signatures</h1>\n" 00325 "When this box is checked, sent messages are stored together with the signatures applied to them. This is recommended, because it enables you to check later whether you signed a message or a certain part of it.\n" 00326 "</qt>" ) ); 00327 sigCompoundModeBG->setTitle( QString::null ); 00328 TextLabel4->setText( tr2i18n( "Compound mode:" ) ); 00329 sendSigMultiPartRB->setText( tr2i18n( "Standa&rd MIME" ) ); 00330 QToolTip::add( sendSigMultiPartRB, tr2i18n( "A Multipart/Signed holding Signature and signed data." ) ); 00331 QWhatsThis::add( sendSigMultiPartRB, tr2i18n( "<qt>\n" 00332 "<h1>Multipart detached signature</h1>\n" 00333 "When this option is selected, the signature and the signed data will be separate parts of a Multipart/Signed message part. Signed message data will be readable even by Mail User Agents not supporting the signaturing algorithm and not supporting ASN.1 decoding.\n" 00334 "</qt>" ) ); 00335 sendSigOpaqueRB->setText( tr2i18n( "Opa&que (only recommended for SPHINX)" ) ); 00336 QToolTip::add( sendSigOpaqueRB, tr2i18n( "Signature and signed data encoded in one ASN.1 block." ) ); 00337 QWhatsThis::add( sendSigOpaqueRB, tr2i18n( "<qt>\n" 00338 "<h1>Opaque signed messages</h1>\n" 00339 "When this option is selected, both the signature and the signed data will be encoded into one ASN.1 block. Messages will be readable only by Mail User Agents supporting ASN.1 decoding.\n" 00340 "</qt>" ) ); 00341 ButtonGroup15->setTitle( QString::null ); 00342 TextLabel5->setText( tr2i18n( "Entering PIN is required:" ) ); 00343 pinAddCertificatesRB->setText( tr2i18n( "When adding certificates" ) ); 00344 QToolTip::add( pinAddCertificatesRB, tr2i18n( "Select how often the PIN must be entered" ) ); 00345 QWhatsThis::add( pinAddCertificatesRB, tr2i18n( "<qt> <h1>PIN Entry</h1> Here, you can select how often you need to enter the PIN in order to access your personal security environment (PSE) that contains your certificates. <p> The more often you need to enter your PIN, the more protected you are against email messages being forged in your name, but the more inconvenient operations will be. <p> If you are unsure what to select here, leave this option as it is. <p> Note that it is not possible to turn off PIN entry entirely for security reasons. </qt><" ) ); 00346 pinOncePerSessionRB->setText( tr2i18n( "Once per session" ) ); 00347 QToolTip::add( pinOncePerSessionRB, tr2i18n( "Select how often the PIN must be entered" ) ); 00348 QWhatsThis::add( pinOncePerSessionRB, tr2i18n( "<qt> <h1>PIN Entry</h1> Here, you can select how often you need to enter the PIN in order to access your personal security environment (PSE) that contains your certificates. <p> The more often you need to enter your PIN, the more protected you are against email messages being forged in your name, but the more inconvenient operations will be. <p> If you are unsure what to select here, leave this option as it is. <p> Note that it is not possible to turn off PIN entry entirely for security reasons. </qt><" ) ); 00349 pinAlwaysWhenSigningRB->setText( tr2i18n( "Always when signing" ) ); 00350 QToolTip::add( pinAlwaysWhenSigningRB, tr2i18n( "Select how often the PIN must be entered" ) ); 00351 QWhatsThis::add( pinAlwaysWhenSigningRB, tr2i18n( "<qt> <h1>PIN Entry</h1> Here, you can select how often you need to enter the PIN in order to access your personal security environment (PSE) that contains your certificates. <p> The more often you need to enter your PIN, the more protected you are against email messages being forged in your name, but the more inconvenient operations will be. <p> If you are unsure what to select here, leave this option as it is. <p> Note that it is not possible to turn off PIN entry entirely for security reasons. </qt><" ) ); 00352 pinAlwaysRB->setText( tr2i18n( "Always" ) ); 00353 QToolTip::add( pinAlwaysRB, tr2i18n( "Select how often the PIN must be entered" ) ); 00354 QWhatsThis::add( pinAlwaysRB, tr2i18n( "<qt> <h1>PIN Entry</h1> Here, you can select how often you need to enter the PIN in order to access your personal security environment (PSE) that contains your certificates. <p> The more often you need to enter your PIN, the more protected you are against email messages being forged in your name, but the more inconvenient operations will be. <p> If you are unsure what to select here, leave this option as it is. <p> Note that it is not possible to turn off PIN entry entirely for security reasons. </qt><" ) ); 00355 pinIntervalRB->setText( tr2i18n( "After" ) ); 00356 QToolTip::add( pinIntervalRB, tr2i18n( "Select how often the PIN must be entered" ) ); 00357 QWhatsThis::add( pinIntervalRB, tr2i18n( "<qt> <h1>PIN Entry</h1> Here, you can select how often you need to enter the PIN in order to access your personal security environment (PSE) that contains your certificates. <p> The more often you need to enter your PIN, the more protected you are against email messages being forged in your name, but the more inconvenient operations will be. <p> If you are unsure what to select here, leave this option as it is. <p> Note that it is not possible to turn off PIN entry entirely for security reasons. </qt><" ) ); 00358 pinIntervalSB->setSuffix( tr2i18n( " min" ) ); 00359 signatureSettingsBG->setTitle( tr2i18n( "Warnings" ) ); 00360 warnUnsignedCB->setText( tr2i18n( "Warn when trying to send &unsigned messages" ) ); 00361 QToolTip::add( warnUnsignedCB, tr2i18n( "Check to be warned when sending unsigned messages." ) ); 00362 QWhatsThis::add( warnUnsignedCB, tr2i18n( "<qt>\n" 00363 "<h1>Warn When Trying To Send Unsigned Messages</h1>\n" 00364 "If this box is checked, you will be warned when you try to send parts of or the whole message unsigned.\n" 00365 "<p>\n" 00366 "It is recommended to leave this option turned on for maximum integrity.\n" 00367 "</qt>" ) ); 00368 warnCACertificateExpiresCB->setText( tr2i18n( "Warn if CA certificate e&xpires in less than" ) ); 00369 QToolTip::add( warnCACertificateExpiresCB, tr2i18n( "Check to be warned if the certificate expires soon" ) ); 00370 QWhatsThis::add( warnCACertificateExpiresCB, tr2i18n( "<qt>\n" 00371 "<h1>Warn If Certificate Expires</h1>\n" 00372 "If this option is checked, then you will be warned when trying to use a certificate for signing that expires within the specified amount of days.\n" 00373 "<p>\n" 00374 "It is recommended to keep this option turned on to avoid using certificates that expire in the near future.\n" 00375 "</qt>" ) ); 00376 warnSignatureCertificateExpiresSB->setSuffix( tr2i18n( " days" ) ); 00377 QToolTip::add( warnSignatureCertificateExpiresSB, tr2i18n( "Select the number of days here" ) ); 00378 QWhatsThis::add( warnSignatureCertificateExpiresSB, tr2i18n( "<qt>\n" 00379 "<h1>Warn If Signature Certificate Expires</h1>\n" 00380 "Select the minimum number of days the signature certificate should be valid without issuing a warning.\n" 00381 "<p>\n" 00382 "The recommended SPHINX setting is 14 days.\n" 00383 "</qt>" ) ); 00384 warnSignatureCertificateExpiresCB->setText( tr2i18n( "Warn if s&ignature certificate expires in less than" ) ); 00385 QToolTip::add( warnSignatureCertificateExpiresCB, tr2i18n( "Check to be warned if the certificate expires soon" ) ); 00386 QWhatsThis::add( warnSignatureCertificateExpiresCB, tr2i18n( "<qt>\n" 00387 "<h1>Warn If Certificate Expires</h1>\n" 00388 "If this option is checked, then you will be warned when trying to use a certificate for signing that expires within the specified amount of days.\n" 00389 "<p>\n" 00390 "It is recommended to keep this option turned on to avoid using certificates that expire in the near future.\n" 00391 "</qt>" ) ); 00392 warnRootCertificateExpiresCB->setText( tr2i18n( "Warn if root certificate expires in &less than" ) ); 00393 QToolTip::add( warnRootCertificateExpiresCB, tr2i18n( "Check to be warned if the certificate expires soon" ) ); 00394 QWhatsThis::add( warnRootCertificateExpiresCB, tr2i18n( "<qt>\n" 00395 "<h1>Warn If Certificate Expires</h1>\n" 00396 "If this option is checked, then you will be warned when trying to use a certificate for signing that expires within the specified amount of days.\n" 00397 "<p>\n" 00398 "It is recommended to keep this option turned on to avoid using certificates that expire in the near future.\n" 00399 "</qt>" ) ); 00400 warnCACertificateExpiresSB->setSuffix( tr2i18n( " days" ) ); 00401 QToolTip::add( warnCACertificateExpiresSB, tr2i18n( "Select the number of days here" ) ); 00402 QWhatsThis::add( warnCACertificateExpiresSB, tr2i18n( "<qt>\n" 00403 "<h1>Warn If CA Certificate Expires</h1>\n" 00404 "Select the minimum number of days the CA certificate should be valid without issuing a warning.\n" 00405 "<p>\n" 00406 "The recommended SPHINX setting is 14 days.\n" 00407 "</qt>" ) ); 00408 warnRootCertificateExpiresSB->setSuffix( tr2i18n( " days" ) ); 00409 QToolTip::add( warnRootCertificateExpiresSB, tr2i18n( "Select the number of days here" ) ); 00410 QWhatsThis::add( warnRootCertificateExpiresSB, tr2i18n( "<qt>\n" 00411 "<h1>Warn If Root Certificate Expires</h1>\n" 00412 "Select the minimum number of days the root certificate should be valid without issuing a warning.\n" 00413 "<p>\n" 00414 "The recommended SPHINX setting is 14 days.\n" 00415 "</qt>" ) ); 00416 warnAddressNotInCertificateCB->setText( tr2i18n( "Warn if signer's email address is &not in certificate" ) ); 00417 QToolTip::add( warnAddressNotInCertificateCB, tr2i18n( "Check to be warned if the address is not in the certificate" ) ); 00418 QWhatsThis::add( warnAddressNotInCertificateCB, tr2i18n( "<qt>\n" 00419 "<h1>Warn If Signer's Email Address Is Not In Certificate</h1>\n" 00420 "If this option is checked, a warning is issued if the email address of the signer is not contained in the certificate used for signing.\n" 00421 "<p>\n" 00422 "It is recommended to leave this option turned on for maximum integrity.\n" 00423 "</qt>" ) ); 00424 } 00425 00426 #include "signatureconfigurationdialog.moc"
KDE Logo
This file is part of the documentation for kmail Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 1 15:19:25 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003