summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoDocument.cpp')
-rw-r--r--lib/kofficecore/KoDocument.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kofficecore/KoDocument.cpp b/lib/kofficecore/KoDocument.cpp
index beb0b266..8bc8f88c 100644
--- a/lib/kofficecore/KoDocument.cpp
+++ b/lib/kofficecore/KoDocument.cpp
@@ -264,7 +264,7 @@ KoDocument::KoDocument( TQWidget * parentWidget, const char *widgetName, TQObjec
// A way to 'fix' the job's window, since we have no widget known to KParts
if ( !singleViewMode )
- connect( this, TQT_SIGNAL( started( KIO::Job* ) ), TQT_SLOT( slotStarted( KIO::Job* ) ) );
+ connect( this, TQT_SIGNAL( started( TDEIO::Job* ) ), TQT_SLOT( slotStarted( TDEIO::Job* ) ) );
}
KoDocument::~KoDocument()
@@ -393,8 +393,8 @@ bool KoDocument::saveFile()
if ( url().isLocalFile() )
KSaveFile::backupFile( url().path(), d->m_backupPath );
else {
- KIO::UDSEntry entry;
- if ( KIO::NetAccess::stat( url(), entry, shells().current() ) ) { // this file exists => backup
+ TDEIO::UDSEntry entry;
+ if ( TDEIO::NetAccess::stat( url(), entry, shells().current() ) ) { // this file exists => backup
emit sigStatusBarMessage( i18n("Making backup...") );
KURL backup;
if ( d->m_backupPath.isEmpty())
@@ -404,7 +404,7 @@ bool KoDocument::saveFile()
backup.setPath( backup.path() + TQString::fromLatin1("~") );
KFileItem item( entry, url() );
Q_ASSERT( item.name() == url().fileName() );
- KIO::NetAccess::file_copy( url(), backup, item.permissions(), true /*overwrite*/, false /*resume*/, shells().current() );
+ TDEIO::NetAccess::file_copy( url(), backup, item.permissions(), true /*overwrite*/, false /*resume*/, shells().current() );
}
}
}
@@ -2485,7 +2485,7 @@ bool KoDocument::hasExternURL() const
return !url().protocol().isEmpty() && url().protocol() != STORE_PROTOCOL && url().protocol() != INTERNAL_PROTOCOL;
}
-void KoDocument::slotStarted( KIO::Job* job )
+void KoDocument::slotStarted( TDEIO::Job* job )
{
if ( job )
{
@@ -2545,7 +2545,7 @@ TQString KoDocument::unitName() const
void KoDocument::showStartUpWidget( KoMainWindow* parent, bool alwaysShow )
{
if(!alwaysShow) {
- KConfigGroup cfgGrp( instance()->config(), "TemplateChooserDialog" );
+ TDEConfigGroup cfgGrp( instance()->config(), "TemplateChooserDialog" );
TQString fullTemplateName = cfgGrp.readPathEntry( "AlwaysUseTemplate" );
if( !fullTemplateName.isEmpty() ) {