diff options
Diffstat (limited to 'kpresenter/KPrWebPresentation.cpp')
-rw-r--r-- | kpresenter/KPrWebPresentation.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpresenter/KPrWebPresentation.cpp b/kpresenter/KPrWebPresentation.cpp index a8f56470..2fbb7336 100644 --- a/kpresenter/KPrWebPresentation.cpp +++ b/kpresenter/KPrWebPresentation.cpp @@ -269,14 +269,14 @@ void KPrWebPresentation::initCreation( KProgress *progressBar ) TQString cmd; int p; KURL str( path + "/html" ); - KIO::NetAccess::mkdir( str,( TQWidget* )0L ); + TDEIO::NetAccess::mkdir( str,( TQWidget* )0L ); p = progressBar->progress(); progressBar->setProgress( ++p ); kapp->processEvents(); str = path + "/pics"; - KIO::NetAccess::mkdir( str,( TQWidget* )0L ); + TDEIO::NetAccess::mkdir( str,( TQWidget* )0L ); p = progressBar->progress(); progressBar->setProgress( ++p ); @@ -293,7 +293,7 @@ void KPrWebPresentation::initCreation( KProgress *progressBar ) srcurl.setPath( locate( "slideshow", filename, KPrFactory::global() ) ); desturl = path; desturl.addPath( "/pics/" + filename ); - KIO::NetAccess::file_copy( srcurl, desturl, -1, true /*overwrite*/); + TDEIO::NetAccess::file_copy( srcurl, desturl, -1, true /*overwrite*/); p = progressBar->progress(); progressBar->setProgress( ++p ); kapp->processEvents(); @@ -315,7 +315,7 @@ void KPrWebPresentation::createSlidesPictures( KProgress *progressBar ) KTempFile tmp; pix.save( tmp.name(), "PNG" ); - KIO::NetAccess::file_move( tmp.name(), filename, -1, true /*overwrite*/); + TDEIO::NetAccess::file_move( tmp.name(), filename, -1, true /*overwrite*/); p = progressBar->progress(); progressBar->setProgress( ++p ); @@ -520,7 +520,7 @@ void KPrWebPresentation::createSlidesHTML( KProgress *progressBar ) file.close(); - KIO::NetAccess::file_move( tmp.name(), dest, -1, true /*overwrite*/); + TDEIO::NetAccess::file_move( tmp.name(), dest, -1, true /*overwrite*/); int p = progressBar->progress(); progressBar->setProgress( ++p ); @@ -567,7 +567,7 @@ void KPrWebPresentation::createMainPage( KProgress *progressBar ) streamOut << "</body>\n</html>\n"; file.close(); - KIO::NetAccess::file_move( tmp.name(), dest, -1, true /*overwrite*/); + TDEIO::NetAccess::file_move( tmp.name(), dest, -1, true /*overwrite*/); progressBar->setProgress( progressBar->totalSteps() ); @@ -1077,7 +1077,7 @@ void KPrWebPresentationWizard::pageChanged() TQString pathname = path->lineEdit()->text(); // path doesn't exist. ask user if it should be created. - if ( !KIO::NetAccess::exists( pathname, true/*write*/,this ) ) + if ( !TDEIO::NetAccess::exists( pathname, true/*write*/,this ) ) { TQString msg = i18n( "<qt>The directory <b>%1</b> does not exist.<br>" "Do you want create it?</qt>" ); @@ -1085,7 +1085,7 @@ void KPrWebPresentationWizard::pageChanged() i18n( "Directory Not Found" ) ) == KMessageBox::Yes) { - bool ok = KIO::NetAccess::mkdir( pathname, this ); + bool ok = TDEIO::NetAccess::mkdir( pathname, this ); if( !ok ) { KMessageBox::sorry( this, |