diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:39:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:39:24 -0600 |
commit | f9ced3b3f13f3136ef63c33ef163042010d6e80b (patch) | |
tree | 293ce93dfb0dcfd79f83674116d7b3bc56f29af2 /quanta/parsers | |
parent | 29df04c24350cc76a41e2410d1c92445f9338b98 (diff) | |
download | tdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.tar.gz tdewebdev-f9ced3b3f13f3136ef63c33ef163042010d6e80b.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'quanta/parsers')
-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); |