diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:10:32 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:10:32 -0600 |
commit | 3fe437def8063926892bddf2dcc733861308836d (patch) | |
tree | 021d66ad023a32bc8ea0074a1ab3d01316aff8b0 /lib/kofficeui/KoTemplateCreateDia.cpp | |
parent | 5b8ab149469c8e186ee8b05d90c0103ae722dd85 (diff) | |
download | koffice-3fe437def8063926892bddf2dcc733861308836d.tar.gz koffice-3fe437def8063926892bddf2dcc733861308836d.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'lib/kofficeui/KoTemplateCreateDia.cpp')
-rw-r--r-- | lib/kofficeui/KoTemplateCreateDia.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kofficeui/KoTemplateCreateDia.cpp b/lib/kofficeui/KoTemplateCreateDia.cpp index b82efbb6..3b4975f0 100644 --- a/lib/kofficeui/KoTemplateCreateDia.cpp +++ b/lib/kofficeui/KoTemplateCreateDia.cpp @@ -272,7 +272,7 @@ void KoTemplateCreateDia::slotOk() { tmpIcon=".icon/"+file+".png"; icon=iconDir+file+".png"; } - while ( KIO::NetAccess::exists( dest, true, this ) ); + while ( TDEIO::NetAccess::exists( dest, true, this ) ); } bool ignore = false; kdDebug(30004) << "Trying to create template: " << d->m_name->text() << "URL=" << ".source/"+file+ext << " ICON=" << tmpIcon << endl; @@ -306,7 +306,7 @@ void KoTemplateCreateDia::slotOk() { if ( !ignore ) { // copy the template file - KIO::NetAccess::file_copy( orig, dest, -1, true, false, this ); + TDEIO::NetAccess::file_copy( orig, dest, -1, true, false, this ); // save the picture if(d->m_default->isChecked() && !m_pixmap.isNull()) @@ -324,10 +324,10 @@ void KoTemplateCreateDia::slotOk() { if((*it).contains(dir)==0) { orig.setPath( (*it)+".directory" ); // Check if we can read the file - if( KIO::NetAccess::exists(orig, true, this) ) { + if( TDEIO::NetAccess::exists(orig, true, this) ) { dest.setPath( dir+"/.directory" ); // We copy the file with overwrite - KIO::NetAccess::file_copy( orig, dest, -1, true, false, this ); + TDEIO::NetAccess::file_copy( orig, dest, -1, true, false, this ); ready=true; } } @@ -337,7 +337,7 @@ void KoTemplateCreateDia::slotOk() { if ( d->m_defaultTemplate->isChecked() ) { - KConfigGroup grp( d->m_instance->config(), "TemplateChooserDialog" ); + TDEConfigGroup grp( d->m_instance->config(), "TemplateChooserDialog" ); grp.writeEntry( "LastReturnType", "Template" ); grp.writePathEntry( "FullTemplateName", dir + "/" + t->file() ); grp.writePathEntry( "AlwaysUseTemplate", dir + "/" + t->file() ); |