|
|
|
@ -508,7 +508,7 @@ void ImportOpenvpnProfileDialog::canAccept()
|
|
|
|
|
|
|
|
|
|
if ( TQFile ( TQString ( importprefix+"/"+cert ) ).exists() )
|
|
|
|
|
{
|
|
|
|
|
// copy to ~/.kde/share/apps/kvpnc/ and rename it
|
|
|
|
|
// copy to ~/.trinity/share/apps/kvpnc/ and rename it
|
|
|
|
|
if ( config->KvpncDebugLevel > 0 )
|
|
|
|
|
config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+cert ) ).arg ( TQString ( certprefix+"/"+"openvpn_cert_"+profilename+"_"+cert ) ), config->debug );
|
|
|
|
|
TQProcess CopyProcess ( this );
|
|
|
|
@ -548,7 +548,7 @@ void ImportOpenvpnProfileDialog::canAccept()
|
|
|
|
|
|
|
|
|
|
if ( TQFile ( TQString ( importprefix+"/"+privatekey ) ).exists() )
|
|
|
|
|
{
|
|
|
|
|
// copy to ~/.kde/share/apps/kvpnc/ and rename it
|
|
|
|
|
// copy to ~/.trinity/share/apps/kvpnc/ and rename it
|
|
|
|
|
if ( config->KvpncDebugLevel > 0 )
|
|
|
|
|
config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+privatekey ) ).arg ( TQString ( certprefix+"/"+"openvpn_privatekey_"+profilename+"_"+privatekey ) ), config->debug );
|
|
|
|
|
TQProcess CopyProcess ( this );
|
|
|
|
@ -589,7 +589,7 @@ void ImportOpenvpnProfileDialog::canAccept()
|
|
|
|
|
|
|
|
|
|
if ( TQFile ( TQString ( importprefix+"/"+privatekey ) ).exists() )
|
|
|
|
|
{
|
|
|
|
|
// copy to ~/.kde/share/apps/kvpnc/ and rename it
|
|
|
|
|
// copy to ~/.trinity/share/apps/kvpnc/ and rename it
|
|
|
|
|
if ( config->KvpncDebugLevel > 0 )
|
|
|
|
|
config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+privatekey ) ).arg ( TQString ( certprefix+"/"+"openvpn_privatekey_"+profilename+"_"+privatekey ) ), config->debug );
|
|
|
|
|
TQProcess CopyProcess ( this );
|
|
|
|
@ -631,7 +631,7 @@ void ImportOpenvpnProfileDialog::canAccept()
|
|
|
|
|
|
|
|
|
|
if ( TQFile ( TQString ( importprefix+"/"+ca ) ).exists() )
|
|
|
|
|
{
|
|
|
|
|
// copy to ~/.kde/share/apps/kvpnc/ and rename it
|
|
|
|
|
// copy to ~/.trinity/share/apps/kvpnc/ and rename it
|
|
|
|
|
if ( config->KvpncDebugLevel > 0 )
|
|
|
|
|
config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+ca ) ).arg ( TQString ( certprefix+"/"+"openvpn_privatekey_"+profilename+"_"+ca ) ), config->debug );
|
|
|
|
|
TQProcess CopyProcess ( this );
|
|
|
|
@ -727,7 +727,7 @@ void ImportOpenvpnProfileDialog::canAccept()
|
|
|
|
|
|
|
|
|
|
if ( TQFile ( TQString ( importprefix+"/"+tlsauth ) ).exists() )
|
|
|
|
|
{
|
|
|
|
|
// copy to ~/.kde/share/apps/kvpnc/ and rename it
|
|
|
|
|
// copy to ~/.trinity/share/apps/kvpnc/ and rename it
|
|
|
|
|
if ( config->KvpncDebugLevel > 0 )
|
|
|
|
|
config->appendLogEntry ( i18n ( "OpenVPN import: copy %1 to %2" ).arg ( TQString ( importprefix+"/"+tlsauth ) ).arg ( TQString ( certprefix+"/"+"openvpn_privatekey_"+profilename+"_"+tlsauth ) ), config->debug );
|
|
|
|
|
TQProcess CopyProcess ( this );
|
|
|
|
|