diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:23:03 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:23:03 -0600 |
commit | 426799905b91f0005c33c4792c444b2b87e774d9 (patch) | |
tree | f41ba725664b320255c32f9a949576285410b59c /src/translators | |
parent | 68e3faaecb4ea50a46d014eea65e11bb9df16980 (diff) | |
download | tellico-426799905b91f0005c33c4792c444b2b87e774d9.tar.gz tellico-426799905b91f0005c33c4792c444b2b87e774d9.zip |
Rename additional global TQt functions
Diffstat (limited to 'src/translators')
-rw-r--r-- | src/translators/htmlexporter.cpp | 4 | ||||
-rw-r--r-- | src/translators/xslthandler.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/translators/htmlexporter.cpp b/src/translators/htmlexporter.cpp index ce84d19..2db0fc4 100644 --- a/src/translators/htmlexporter.cpp +++ b/src/translators/htmlexporter.cpp @@ -535,7 +535,7 @@ TQString HTMLExporter::fileDirName() const { // how ugly is this? const xmlChar* HTMLExporter::handleLink(const xmlChar* link_) { - return reinterpret_cast<xmlChar*>(qstrdup(handleLink(TQString::fromUtf8(reinterpret_cast<const char*>(link_))).utf8())); + return reinterpret_cast<xmlChar*>(tqstrdup(handleLink(TQString::fromUtf8(reinterpret_cast<const char*>(link_))).utf8())); } TQString HTMLExporter::handleLink(const TQString& link_) { @@ -585,7 +585,7 @@ TQString HTMLExporter::handleLink(const TQString& link_) { } const xmlChar* HTMLExporter::analyzeInternalCSS(const xmlChar* str_) { - return reinterpret_cast<xmlChar*>(qstrdup(analyzeInternalCSS(TQString::fromUtf8(reinterpret_cast<const char*>(str_))).utf8())); + return reinterpret_cast<xmlChar*>(tqstrdup(analyzeInternalCSS(TQString::fromUtf8(reinterpret_cast<const char*>(str_))).utf8())); } TQString HTMLExporter::analyzeInternalCSS(const TQString& str_) { diff --git a/src/translators/xslthandler.cpp b/src/translators/xslthandler.cpp index 98f6527..0c300bb 100644 --- a/src/translators/xslthandler.cpp +++ b/src/translators/xslthandler.cpp @@ -227,8 +227,8 @@ TQString XSLTHandler::process() { TQMap<TQCString, TQCString>::ConstIterator it = m_params.constBegin(); TQMap<TQCString, TQCString>::ConstIterator end = m_params.constEnd(); for(uint i = 0; it != end; ++it) { - params[i ] = qstrdup(it.key()); - params[i+1] = qstrdup(it.data()); + params[i ] = tqstrdup(it.key()); + params[i+1] = tqstrdup(it.data()); params[i+2] = NULL; i += 2; } |