diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:13 -0600 |
commit | 4bb787f41f7cdefac2aac33ef59317b7157302c1 (patch) | |
tree | c9726401d4eeb6fff8e78c4e35facb644c417e77 /kgpg/kgpgview.cpp | |
parent | aef5eada7f51ee48f3d21448db290bd8f06953a8 (diff) | |
download | tdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.tar.gz tdeutils-4bb787f41f7cdefac2aac33ef59317b7157302c1.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kgpg/kgpgview.cpp')
-rw-r--r-- | kgpg/kgpgview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kgpg/kgpgview.cpp b/kgpg/kgpgview.cpp index 2e6540c..3602156 100644 --- a/kgpg/kgpgview.cpp +++ b/kgpg/kgpgview.cpp @@ -87,7 +87,7 @@ void MyEditor::slotDroppedFile(KURL url) ///////////////// decide what to do with dropped file TQString text; if (!tempFile.isEmpty()) { - KIO::NetAccess::removeTempFile(tempFile); + TDEIO::NetAccess::removeTempFile(tempFile); tempFile=TQString(); } @@ -96,7 +96,7 @@ void MyEditor::slotDroppedFile(KURL url) else { if (KMessageBox::warningContinueCancel(0,i18n("<qt><b>Remote file dropped</b>.<br>The remote file will now be copied to a temporary file to process requested operation. This temporary file will be deleted after operation.</qt>"),0,KStdGuiItem::cont(),"RemoteFileWarning")!=KMessageBox::Continue) return; - if (!KIO::NetAccess::download (url, tempFile,this)) { + if (!TDEIO::NetAccess::download (url, tempFile,this)) { KMessageBox::sorry(this,i18n("Could not download file.")); return; } @@ -129,7 +129,7 @@ TQFile qfile(fileToCheck); qfile.close(); int result=KMessageBox::warningContinueCancel(this,i18n("<p>The file <b>%1</b> is a public key.<br>Do you want to import it ?</p>").arg(fileToCheck),i18n("Warning")); if (result==KMessageBox::Cancel) { - KIO::NetAccess::removeTempFile(fileToCheck); + TDEIO::NetAccess::removeTempFile(fileToCheck); return true; } else { KgpgInterface *importKeyProcess=new KgpgInterface(); @@ -141,13 +141,13 @@ TQFile qfile(fileToCheck); if (result.startsWith("-----BEGIN PGP PRIVATE KEY BLOCK")) { qfile.close(); KMessageBox::information(0,i18n("This file is a private key.\nPlease use kgpg key management to import it.")); - KIO::NetAccess::removeTempFile(fileToCheck); + TDEIO::NetAccess::removeTempFile(fileToCheck); return true; } setText(result); qfile.close(); - KIO::NetAccess::removeTempFile(fileToCheck); + TDEIO::NetAccess::removeTempFile(fileToCheck); } } return false; @@ -183,7 +183,7 @@ void MyEditor::slotDecodeFile(TQString fname) void MyEditor::slotProcessResult(TQStringList iKeys) { emit refreshImported(iKeys); - KIO::NetAccess::removeTempFile(tempFile); + TDEIO::NetAccess::removeTempFile(tempFile); tempFile=TQString(); } |