diff options
Diffstat (limited to 'src/kvpnc.cpp')
-rw-r--r-- | src/kvpnc.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kvpnc.cpp b/src/kvpnc.cpp index 4524d26..f109d0a 100644 --- a/src/kvpnc.cpp +++ b/src/kvpnc.cpp @@ -75,7 +75,7 @@ #include <kstddirs.h> #include <klineeditdlg.h> #include <kmessagebox.h> -#include <kio/netaccess.h> +#include <tdeio/netaccess.h> #include <ktempfile.h> #include <klistview.h> #include <kglobal.h> @@ -84,7 +84,7 @@ #include <tdewallet.h> #include <kinputdialog.h> #include <kactioncollection.h> -#include <kfiledialog.h> +#include <tdefiledialog.h> #include "kvpnc.h" #include "mainview.h" @@ -5145,16 +5145,16 @@ void KVpnc::connectClicked() if ( GlobalConfig->currentProfile->getAuthType() == VpnAccountData::psk ) { // write psk.<profile>.key - TQFile Pskfile ( tmpPath + "psk." + ProfileName + ".key" ); - stream.setDevice ( &Pskfile ); - if ( Pskfile.open ( IO_WriteOnly ) ) + TQFile Pstdefile ( tmpPath + "psk." + ProfileName + ".key" ); + stream.setDevice ( &Pstdefile ); + if ( Pstdefile.open ( IO_WriteOnly ) ) { stream << GlobalConfig->currentProfile->getPreSharedKey() << "\n"; - Pskfile.close(); + Pstdefile.close(); } else { - GlobalConfig->appendLogEntry ( i18n ( "%1 could not opened. Stop." ).arg ( Pskfile.name() ),GlobalConfig->error ); + GlobalConfig->appendLogEntry ( i18n ( "%1 could not opened. Stop." ).arg ( Pstdefile.name() ),GlobalConfig->error ); } stream.unsetDevice(); |