diff options
Diffstat (limited to 'src/translators/htmlexporter.cpp')
-rw-r--r-- | src/translators/htmlexporter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/translators/htmlexporter.cpp b/src/translators/htmlexporter.cpp index 2db0fc4..6cb38b4 100644 --- a/src/translators/htmlexporter.cpp +++ b/src/translators/htmlexporter.cpp @@ -209,7 +209,7 @@ bool HTMLExporter::loadXSLTFile() { // if parseDOM, that means we want the locations to be the actual location // otherwise, we assume it'll be relative if(m_parseDOM && m_dataDir.isEmpty()) { - m_dataDir = KGlobal::dirs()->findResourceDir("appdata", TQString::fromLatin1("pics/tellico.png")); + m_dataDir = TDEGlobal::dirs()->findResourceDir("appdata", TQString::fromLatin1("pics/tellico.png")); } else if(!m_parseDOM) { m_dataDir.truncate(0); } @@ -279,7 +279,7 @@ void HTMLExporter::setFormattingOptions(Data::CollPtr coll) { if(file != i18n("Untitled")) { m_handler->addStringParam("filename", TQFile::encodeName(file)); } - m_handler->addStringParam("cdate", KGlobal::locale()->formatDate(TQDate::currentDate()).utf8()); + m_handler->addStringParam("cdate", TDEGlobal::locale()->formatDate(TQDate::currentDate()).utf8()); m_handler->addParam("show-headers", m_printHeaders ? "true()" : "false()"); m_handler->addParam("group-entries", m_printGrouped ? "true()" : "false()"); @@ -375,7 +375,7 @@ void HTMLExporter::setFormattingOptions(Data::CollPtr coll) { m_handler->addStringParam("color2", TQString(Config::templateHighlightedBaseColor(type).name()).latin1()); // add locale code to stylesheet (for sorting) - m_handler->addStringParam("lang", KGlobal::locale()->languagesTwoAlpha().first().utf8()); + m_handler->addStringParam("lang", TDEGlobal::locale()->languagesTwoAlpha().first().utf8()); } void HTMLExporter::writeImages(Data::CollPtr coll_) { @@ -738,7 +738,7 @@ bool HTMLExporter::writeEntryFiles() { dataImages << TQString::fromLatin1("stars%1.png").arg(i); } KURL dataDir; - dataDir.setPath(KGlobal::dirs()->findResourceDir("appdata", TQString::fromLatin1("pics/tellico.png")) + "pics/"); + dataDir.setPath(TDEGlobal::dirs()->findResourceDir("appdata", TQString::fromLatin1("pics/tellico.png")) + "pics/"); KURL target = fileDir(); target.addPath(TQString::fromLatin1("pics/")); KIO::NetAccess::mkdir(target, m_widget); |