diff options
author | Timothy Pearson <[email protected]> | 2013-01-25 00:32:59 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-25 00:32:59 -0600 |
commit | 2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d (patch) | |
tree | ea24a96bad3bb7356ec1a2dca2a1338692d79745 /kmines/status.cpp | |
parent | d6f3812c8d969a673b420beca2482804177704fb (diff) | |
download | tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.tar.gz tdegames-2f84d0e2d3d4252e6aee24aceafa45dbdb7f4d1d.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kmines/status.cpp')
-rw-r--r-- | kmines/status.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmines/status.cpp b/kmines/status.cpp index 15301115..770be430 100644 --- a/kmines/status.cpp +++ b/kmines/status.cpp @@ -339,7 +339,7 @@ void Status::saveLog() { KURL url = KFileDialog::getSaveURL(TQString(), TQString(), this); if ( url.isEmpty() ) return; - if ( KIO::NetAccess::exists(url, false, this) ) { + if ( TDEIO::NetAccess::exists(url, false, this) ) { KGuiItem gi = KStdGuiItem::save(); gi.setText(i18n("Overwrite")); int res = KMessageBox::warningYesNo(this, @@ -350,7 +350,7 @@ void Status::saveLog() KTempFile tmp; (*tmp.textStream()) << _log.toString(); tmp.close(); - KIO::NetAccess::upload(tmp.name(), url, this); + TDEIO::NetAccess::upload(tmp.name(), url, this); tmp.unlink(); } @@ -361,7 +361,7 @@ void Status::loadLog() TQString tmpFile; bool success = false; TQDomDocument doc; - if( KIO::NetAccess::download(url, tmpFile, this) ) { + if( TDEIO::NetAccess::download(url, tmpFile, this) ) { TQFile file(tmpFile); if ( file.open(IO_ReadOnly) ) { int errorLine; @@ -373,7 +373,7 @@ void Status::loadLog() } success = true; } - KIO::NetAccess::removeTempFile(tmpFile); + TDEIO::NetAccess::removeTempFile(tmpFile); } if ( !success ) { |