summaryrefslogtreecommitdiffstats
path: root/kmplot/kmplot/kparametereditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmplot/kmplot/kparametereditor.cpp')
-rw-r--r--kmplot/kmplot/kparametereditor.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmplot/kmplot/kparametereditor.cpp b/kmplot/kmplot/kparametereditor.cpp
index dd320ac7..50ed3c02 100644
--- a/kmplot/kmplot/kparametereditor.cpp
+++ b/kmplot/kmplot/kparametereditor.cpp
@@ -138,7 +138,7 @@ void KParameterEditor::cmdImport_clicked()
if ( url.isEmpty() )
return;
- if (!KIO::NetAccess::exists(url,true,this) )
+ if (!TDEIO::NetAccess::exists(url,true,this) )
{
KMessageBox::error(0,i18n("The file does not exist."));
return;
@@ -149,7 +149,7 @@ void KParameterEditor::cmdImport_clicked()
TQString tmpfile;
if ( !url.isLocalFile() )
{
- if ( !KIO::NetAccess::download(url, tmpfile, this) )
+ if ( !TDEIO::NetAccess::download(url, tmpfile, this) )
{
KMessageBox::error(0,i18n("An error appeared when opening this file"));
return;
@@ -182,7 +182,7 @@ void KParameterEditor::cmdImport_clicked()
if ( KMessageBox::warningContinueCancel(this,i18n("Line %1 is not a valid parameter value and will therefore not be included. Do you want to continue?").arg(i) ) == KMessageBox::Cancel)
{
file.close();
- KIO::NetAccess::removeTempFile( tmpfile );
+ TDEIO::NetAccess::removeTempFile( tmpfile );
return;
}
else if (KMessageBox::warningYesNo(this,i18n("Would you like to be informed about other lines that cannot be read?"), TQString(), i18n("Get Informed"), i18n("Ignore Information") ) == KMessageBox::No)
@@ -195,7 +195,7 @@ void KParameterEditor::cmdImport_clicked()
KMessageBox::error(0,i18n("An error appeared when opening this file"));
if ( !url.isLocalFile() )
- KIO::NetAccess::removeTempFile( tmpfile );
+ TDEIO::NetAccess::removeTempFile( tmpfile );
}
void KParameterEditor::cmdExport_clicked()
@@ -206,7 +206,7 @@ void KParameterEditor::cmdExport_clicked()
if ( url.isEmpty() )
return;
- if( !KIO::NetAccess::exists( url,false,this ) || KMessageBox::warningContinueCancel( this, i18n( "A file named \"%1\" already exists. Are you sure you want to continue and overwrite this file?" ).arg( url.url()), i18n( "Overwrite File?" ), KGuiItem( i18n( "&Overwrite" ) ) ) == KMessageBox::Continue )
+ if( !TDEIO::NetAccess::exists( url,false,this ) || KMessageBox::warningContinueCancel( this, i18n( "A file named \"%1\" already exists. Are you sure you want to continue and overwrite this file?" ).arg( url.url()), i18n( "Overwrite File?" ), KGuiItem( i18n( "&Overwrite" ) ) ) == KMessageBox::Continue )
{
TQString tmpfile;
TQFile file;
@@ -233,7 +233,7 @@ void KParameterEditor::cmdExport_clicked()
else
KMessageBox::error(0,i18n("An error appeared when saving this file"));
- if ( !KIO::NetAccess::upload(tmpfile.name(),url, this) )
+ if ( !TDEIO::NetAccess::upload(tmpfile.name(),url, this) )
{
KMessageBox::error(0,i18n("An error appeared when saving this file"));
tmpfile.unlink();