From cc74f360bb40da3d79f58048f8e8611804980aa6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:30:47 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kate/app/katedocmanager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kate/app/katedocmanager.cpp') diff --git a/kate/app/katedocmanager.cpp b/kate/app/katedocmanager.cpp index f23d5abba..8e895e019 100644 --- a/kate/app/katedocmanager.cpp +++ b/kate/app/katedocmanager.cpp @@ -60,7 +60,7 @@ KateDocManager::KateDocManager (TQObject *parent) m_dcop = new KateDocManagerDCOPIface (this); - m_metaInfos = new KConfig("metainfos", false, false, "appdata"); + m_metaInfos = new TDEConfig("metainfos", false, false, "appdata"); createDoc (); } @@ -315,7 +315,7 @@ bool KateDocManager::closeDocument(class Kate::Document *doc,bool closeURL) "Do you want to delete it anyway?").arg(m_tempFiles[ documentNumber ].first.prettyURL()), i18n("Delete File?") ) == KMessageBox::Yes*/ ) { - KIO::del( m_tempFiles[ documentNumber ].first, false, false ); + TDEIO::del( m_tempFiles[ documentNumber ].first, false, false ); kdDebug(13001)<<"Deleted temporary file "<views().first())->save(); } -void KateDocManager::saveDocumentList (KConfig* config) +void KateDocManager::saveDocumentList (TDEConfig* config) { TQString prevGrp=config->group(); config->setGroup ("Open Documents"); @@ -466,7 +466,7 @@ void KateDocManager::saveDocumentList (KConfig* config) config->setGroup(prevGrp); } -void KateDocManager::restoreDocumentList (KConfig* config) +void KateDocManager::restoreDocumentList (TDEConfig* config) { TQString prevGrp=config->group(); config->setGroup ("Open Documents"); -- cgit v1.2.1