diff options
Diffstat (limited to 'quanta/parsers/dtd')
-rw-r--r-- | quanta/parsers/dtd/dtd.cpp | 4 | ||||
-rw-r--r-- | quanta/parsers/dtd/dtdparser.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/quanta/parsers/dtd/dtd.cpp b/quanta/parsers/dtd/dtd.cpp index 92e1e8f8..34826ca4 100644 --- a/quanta/parsers/dtd/dtd.cpp +++ b/quanta/parsers/dtd/dtd.cpp @@ -112,7 +112,7 @@ void DTD::writeTagFiles() } } - KConfig config(dirName + "description.rc"); + TDEConfig config(dirName + "description.rc"); config.setGroup("General"); config.writeEntry("Name", TQFileInfo(m_dtdURL.fileName()).baseName()); //TODO: get from the DTD! config.writeEntry("NickName", TQFileInfo(m_dtdURL.fileName()).baseName()); //TODO: get from the user! @@ -122,7 +122,7 @@ void DTD::writeTagFiles() bool DTD::parseDTD(const KURL &url) { TQString fileName = TQString(); - if (!KIO::NetAccess::download(url, fileName)) + if (!TDEIO::NetAccess::download(url, fileName)) { KMessageBox::error(0, i18n("<qt>Cannot download the DTD from <b>%1</b>.</qt>").arg(url.prettyURL(0, KURL::StripFileProtocol))); return false; diff --git a/quanta/parsers/dtd/dtdparser.cpp b/quanta/parsers/dtd/dtdparser.cpp index c8eb2a98..07d571f8 100644 --- a/quanta/parsers/dtd/dtdparser.cpp +++ b/quanta/parsers/dtd/dtdparser.cpp @@ -73,7 +73,7 @@ bool DTDParser::parse(const TQString &targetDir, bool entitiesOnly) { bool fineTune = false; TQString fileName = TQString(); - if (!KIO::NetAccess::download(m_dtdURL, fileName, 0)) + if (!TDEIO::NetAccess::download(m_dtdURL, fileName, 0)) { KMessageBox::error(0, i18n("<qt>Cannot download the DTD from <b>%1</b>.</qt>").arg( m_dtdURL.prettyURL(0, KURL::StripFileProtocol))); return false; @@ -190,7 +190,7 @@ bool DTDParser::parse(const TQString &targetDir, bool entitiesOnly) void DTDParser::writeDescriptionRC() { - KConfig config(DTD::dirName + "description.rc"); + TDEConfig config(DTD::dirName + "description.rc"); config.setGroup("General"); config.writeEntry("Name", m_name); config.writeEntry("NickName", m_nickName); |