diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:28:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:28:26 -0600 |
commit | d3afa6baf98ef5ac191996cc9b909ff9074c168c (patch) | |
tree | a1e1247371cd17715f83036a3664755206ab9ba2 /kdoctools/xslt.cpp | |
parent | 12f3d421cd2991c0e3f96994efb836ce244172ff (diff) | |
download | tdelibs-d3afa6baf98ef5ac191996cc9b909ff9074c168c.tar.gz tdelibs-d3afa6baf98ef5ac191996cc9b909ff9074c168c.zip |
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'kdoctools/xslt.cpp')
-rw-r--r-- | kdoctools/xslt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdoctools/xslt.cpp b/kdoctools/xslt.cpp index d143e0a06..2eb03cfbc 100644 --- a/kdoctools/xslt.cpp +++ b/kdoctools/xslt.cpp @@ -114,7 +114,7 @@ xmlParserInputPtr meinExternalEntityLoader(const char *URL, const char *ID, URL = "docbook/xml-dtd-4.1.2/docbookx.dtd"; TQString file; - if (KStandardDirs::exists( TQDir::currentDirPath() + "/" + URL ) ) + if (TDEStandardDirs::exists( TQDir::currentDirPath() + "/" + URL ) ) file = TQDir::currentDirPath() + "/" + URL; else file = locate("dtd", URL); @@ -186,7 +186,7 @@ void fillInstance(TDEInstance &ins, const TQString &srcdir) { catalogs += ins.dirs()->findResource("data", "ksgmltools2/customization/catalog"); catalogs += ':'; catalogs += ins.dirs()->findResource("data", "ksgmltools2/docbook/xml-dtd-4.2/docbook.cat"); - ins.dirs()->addResourceType("dtd", KStandardDirs::kde_default("data") + "ksgmltools2"); + ins.dirs()->addResourceType("dtd", TDEStandardDirs::kde_default("data") + "ksgmltools2"); } else { catalogs += srcdir +"/customization/catalog:" + srcdir + "/docbook/xml-dtd-4.2/docbook.cat"; ins.dirs()->addResourceDir("dtd", srcdir); |