diff options
Diffstat (limited to 'quanta/src/dtds.cpp')
-rw-r--r-- | quanta/src/dtds.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/quanta/src/dtds.cpp b/quanta/src/dtds.cpp index c378bd05..97ec6ec0 100644 --- a/quanta/src/dtds.cpp +++ b/quanta/src/dtds.cpp @@ -67,8 +67,8 @@ DTDs::DTDs(TQObject *parent) m_dict->setAutoDelete(true); m_doc = new TQDomDocument(); - TQString localKDEdir = KGlobal::instance()->dirs()->localtdedir(); - TQStringList tagsResourceDirs = KGlobal::instance()->dirs()->findDirs("appdata", "dtep"); + TQString localKDEdir = TDEGlobal::instance()->dirs()->localtdedir(); + TQStringList tagsResourceDirs = TDEGlobal::instance()->dirs()->findDirs("appdata", "dtep"); TQStringList tagsDirs; TQStringList::ConstIterator end = tagsResourceDirs.constEnd(); for ( TQStringList::ConstIterator it = tagsResourceDirs.constBegin(); it != end; ++it ) @@ -904,7 +904,7 @@ void DTDs::slotLoadDTD() KURL url = KFileDialog::getOpenURL("", i18n("*.dtd|DTD Definitions"), 0L); if (!url.isEmpty()) { - DTDParser dtdParser(url, KGlobal::dirs()->saveLocation("data") + resourceDir + "dtep"); + DTDParser dtdParser(url, TDEGlobal::dirs()->saveLocation("data") + resourceDir + "dtep"); if (dtdParser.parse()) { TQString dirName = dtdParser.dirName(); @@ -962,7 +962,7 @@ void DTDs::slotLoadDTEP(const TQString &_dirName, bool askForAutoload) KURL src; src.setPath(dirName); KURL target; - TQString destDir = KGlobal::dirs()->saveLocation("data") + resourceDir + "dtep/"; + TQString destDir = TDEGlobal::dirs()->saveLocation("data") + resourceDir + "dtep/"; target.setPath(destDir + src.fileName()); KIO::copy( src, target, false); //don't care about the result } @@ -993,7 +993,7 @@ void DTDs::slotLoadEntities() if (dlg.exec()) { DTDStruct * dtd = m_dict->find(getDTDNameFromNickName(entitiesWidget.targetDTEPCombo->currentText())); - DTDParser dtdParser(KURL::fromPathOrURL(entitiesWidget.sourceDTDRequester->url()), KGlobal::dirs()->saveLocation("data") + resourceDir + "dtep"); + DTDParser dtdParser(KURL::fromPathOrURL(entitiesWidget.sourceDTDRequester->url()), TDEGlobal::dirs()->saveLocation("data") + resourceDir + "dtep"); TQString dtdDir = TQFileInfo(dtd->fileName).dirPath(); if (dtdParser.parse(dtdDir, true)) { |