From 29df04c24350cc76a41e2410d1c92445f9338b98 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:51:30 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- quanta/src/dtds.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'quanta/src/dtds.cpp') 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)) { -- cgit v1.2.1