summaryrefslogtreecommitdiffstats
path: root/quanta/src/dtds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/src/dtds.cpp')
-rw-r--r--quanta/src/dtds.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/quanta/src/dtds.cpp b/quanta/src/dtds.cpp
index 97ec6ec0..9a91f304 100644
--- a/quanta/src/dtds.cpp
+++ b/quanta/src/dtds.cpp
@@ -165,7 +165,7 @@ bool DTDs::readTagDir(const TQString &dirName, bool loadAll)
TQString tmpStr = dirName + m_rcFilename;
if (!TQFile::exists(tmpStr))
return false;
- KConfig *dtdConfig = new KConfig(tmpStr, true);
+ TDEConfig *dtdConfig = new TDEConfig(tmpStr, true);
dtdConfig->setGroup("General");
TQString dtdName = dtdConfig->readEntry("Name", "Unknown");
if (m_dict->find(dtdName.lower()))
@@ -241,7 +241,7 @@ bool DTDs::readTagDir2(DTDStruct *dtd)
kapp->setOverrideCursor( TQCursor(TQt::WaitCursor) );
- KConfig *dtdConfig = new KConfig(dtd->fileName, true);
+ TDEConfig *dtdConfig = new TDEConfig(dtd->fileName, true);
//read the general DTD info
dtdConfig->setGroup("General");
@@ -908,7 +908,7 @@ void DTDs::slotLoadDTD()
if (dtdParser.parse())
{
TQString dirName = dtdParser.dirName();
- KConfig dtdcfg(dirName + m_rcFilename, true);
+ TDEConfig dtdcfg(dirName + m_rcFilename, true);
dtdcfg.setGroup("General");
TQString dtdName = dtdcfg.readEntry("Name");
TQString nickName = dtdcfg.readEntry("NickName", dtdName);
@@ -940,7 +940,7 @@ void DTDs::slotLoadDTEP(const TQString &_dirName, bool askForAutoload)
TQString dirName = _dirName;
if (!dirName.endsWith("/"))
dirName += "/";
- KConfig dtdcfg(dirName + m_rcFilename, true);
+ TDEConfig dtdcfg(dirName + m_rcFilename, true);
dtdcfg.setGroup("General");
TQString dtdName = dtdcfg.readEntry("Name");
TQString nickName = dtdcfg.readEntry("NickName", dtdName);
@@ -964,7 +964,7 @@ void DTDs::slotLoadDTEP(const TQString &_dirName, bool askForAutoload)
KURL target;
TQString destDir = TDEGlobal::dirs()->saveLocation("data") + resourceDir + "dtep/";
target.setPath(destDir + src.fileName());
- KIO::copy( src, target, false); //don't care about the result
+ TDEIO::copy( src, target, false); //don't care about the result
}
Document *w = ViewManager::ref()->activeDocument();
if (family == "1" && w &&