diff options
Diffstat (limited to 'kshowmail/serverdialog.cpp')
-rw-r--r-- | kshowmail/serverdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kshowmail/serverdialog.cpp b/kshowmail/serverdialog.cpp index 3c0c7d9..4c051ad 100644 --- a/kshowmail/serverdialog.cpp +++ b/kshowmail/serverdialog.cpp @@ -97,7 +97,7 @@ ServerDialog::ServerDialog( TQWidget* parent, ConfigElem* item ) TQRadioButton* btnPasswordSaveTDEWallet = new TQRadioButton( i18n( "Use TDEWallet" ), gboxPassword, "btnPasswordSaveTDEWallet" ); grpPasswordStorage->insert( btnPasswordDontSave, ID_BUTTON_PASSWORD_DONT_SAVE ); grpPasswordStorage->insert( btnPasswordSaveFile, ID_BUTTON_PASSWORD_SAVE_FILE ); - grpPasswordStorage->insert( btnPasswordSaveTDEWallet, ID_BUTTON_PASSWORD_SAVE_KWALLET ); + grpPasswordStorage->insert( btnPasswordSaveTDEWallet, ID_BUTTON_PASSWORD_SAVE_TDEWALLET ); TQToolTip::add( btnPasswordDontSave, i18n( "Don't save password. KShowmail will ask you for it at first server connect." ) ); TQToolTip::add( btnPasswordSaveFile, i18n( "Save password in the configuration file. Not recommended, because the password is just lightly encrypted" ) ); TQToolTip::add( btnPasswordSaveTDEWallet, i18n( "Use TDEWallet to save the password. Maybe you have to type in the TDEWallet master password at first server connect." ) ); @@ -237,7 +237,7 @@ void ServerDialog::slotOk( ) case ID_BUTTON_PASSWORD_SAVE_FILE : config->writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD_STORAGE, CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_FILE ); config->writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD, crypt( url ) ); break; - case ID_BUTTON_PASSWORD_SAVE_KWALLET : config->writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD_STORAGE, CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_KWALLET ); + case ID_BUTTON_PASSWORD_SAVE_TDEWALLET : config->writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD_STORAGE, CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_TDEWALLET ); config->writeEntry( CONFIG_ENTRY_ACCOUNT_PASSWORD, TQString::null ); TDEWalletAccess::savePassword( txtAccount->text(), pass ); break; @@ -297,7 +297,7 @@ void ServerDialog::fillDialog( ) txtUser->setText( account->getUser() ); int type = account->getPasswordStorage(); - if( type != CONFIG_VALUE_ACCOUNT_PASSWORD_DONT_SAVE && type != CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_FILE && type != CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_KWALLET ) + if( type != CONFIG_VALUE_ACCOUNT_PASSWORD_DONT_SAVE && type != CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_FILE && type != CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_TDEWALLET ) type = DEFAULT_ACCOUNT_PASSWORD_STORAGE; switch( type ) @@ -310,7 +310,7 @@ void ServerDialog::fillDialog( ) txtPassword->setEnabled( true ); txtPassword->setText( account->getPassword() ); break; - case CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_KWALLET : grpPasswordStorage->setButton( ID_BUTTON_PASSWORD_SAVE_KWALLET ); + case CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_TDEWALLET : grpPasswordStorage->setButton( ID_BUTTON_PASSWORD_SAVE_TDEWALLET ); txtPassword->setEnabled( true ); txtPassword->setText( account->getPassword() ); break; |