Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.git

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 6 years ago
parent aa50f33131
commit 2c289237c6
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -660,7 +660,7 @@ void WirelessSecurityEAPImpl::slotAnonIdentityChanged(const TQString& identity)
void WirelessSecurityEAPImpl::slotPasswordChanged(const TQString& pwd)
{
_security_setting->eapConfig.password = TQString(txtPassword->password());
_security_setting->eapConfig.password = txtPassword->password();
_security_setting->eapConfig.secretsValid = true;
if (_parentdialog) _parentdialog->slotEnableButtons(); // Update lockouts

@ -588,7 +588,7 @@ TDENetworkSettingsMap OpenVPNAuthentication::getPasswords()
{
TQMap<TQString, TQString> pwds;
if ((_connectionType == OpenVPNConnectionType::PASSWORD) || (_connectionType == OpenVPNConnectionType::X509USERPASS))
pwds.insert("password", TQString(_openvpnAuth->editUserPassword->password()));
pwds.insert("password", _openvpnAuth->editUserPassword->password());
else
pwds.insert("no-secret", TQString("true"));

@ -239,7 +239,7 @@ TDENetworkSettingsMap PPTPAuthentication::getPasswords()
TDENetworkSettingsMap pwds;
//pwds.insert("CHAP", "CHAP");
pwds.insert("user", TQString(_pptpAuth->username->text()));
pwds.insert("password", TQString(_pptpAuth->password->password()));
pwds.insert("password", _pptpAuth->password->password());
pwds.insert("domain", TQString(_pptpAuth->domain->text()));
return pwds;
}

@ -246,7 +246,7 @@ TDENetworkSettingsMap StrongswanAuthentication::getPasswords()
{
TQMap<TQString, TQString> pwds;
pwds.insert("user", TQString(_strongswanAuth->username->text()));
pwds.insert("password", TQString(_strongswanAuth->password->password()));
pwds.insert("password", _strongswanAuth->password->password());
return pwds;
}

@ -390,7 +390,7 @@ VPNCAuthentication::~VPNCAuthentication()
TDENetworkSettingsMap VPNCAuthentication::getPasswords()
{
TDENetworkSettingsMap pwds;
pwds.insert("Xauth password", TQString(_vpncAuth->editUserPassword->password()));
pwds.insert("Xauth password", _vpncAuth->editUserPassword->password());
if (_vpncAuth->chkObfusticated->isChecked()) {
// Decrypt the obfusticated password with /usr/lib/vpnc/cisco-decrypt
string decryptcommand="/usr/lib/vpnc/cisco-decrypt ";
@ -420,7 +420,7 @@ TDENetworkSettingsMap VPNCAuthentication::getPasswords()
}
}
else {
pwds.insert("IPSec secret", TQString(_vpncAuth->editGroupPassword->password()));
pwds.insert("IPSec secret", _vpncAuth->editGroupPassword->password());
}
return pwds;
}

Loading…
Cancel
Save