diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:32:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:32:27 -0600 |
commit | 9f2c757e1a1694373c11427a00502c2ff4c2d403 (patch) | |
tree | 7d90e91214976a7d23d89ec3474515cf46069704 /kmplot/kmplot/kparametereditor.cpp | |
parent | cee429821aa6f1acc97fb482d325fb4eb37376ca (diff) | |
download | tdeedu-9f2c757e1a1694373c11427a00502c2ff4c2d403.tar.gz tdeedu-9f2c757e1a1694373c11427a00502c2ff4c2d403.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kmplot/kmplot/kparametereditor.cpp')
-rw-r--r-- | kmplot/kmplot/kparametereditor.cpp | 12 |
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(); |