|
|
|
@ -74,16 +74,17 @@ TQString KDevSvnd::sslCertFile()
|
|
|
|
|
TQString fileName = KFileDialog::getOpenFileName(TQString(),TQString(),0, i18n("Open SSL certificate file"));
|
|
|
|
|
return fileName;
|
|
|
|
|
}
|
|
|
|
|
TQCString KDevSvnd::sslPasswdDlg(TQString promptMsg)
|
|
|
|
|
|
|
|
|
|
TQString KDevSvnd::sslPasswdDlg(TQString promptMsg)
|
|
|
|
|
{
|
|
|
|
|
TQCString passwd;
|
|
|
|
|
TQString passwd;
|
|
|
|
|
int ret = KPasswordDialog::getPassword( passwd,promptMsg );
|
|
|
|
|
if( ret == KPasswordDialog::Accepted ){
|
|
|
|
|
TQCString retstr;
|
|
|
|
|
TQString retstr;
|
|
|
|
|
retstr.setNum(1);
|
|
|
|
|
return retstr + passwd;
|
|
|
|
|
} else{
|
|
|
|
|
TQCString nullstr;
|
|
|
|
|
TQString nullstr;
|
|
|
|
|
nullstr.setNum(-1);
|
|
|
|
|
return nullstr;
|
|
|
|
|
}
|
|
|
|
|