diff options
Diffstat (limited to 'bibletime/backend/bt_osishtml.cpp')
-rw-r--r-- | bibletime/backend/bt_osishtml.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bibletime/backend/bt_osishtml.cpp b/bibletime/backend/bt_osishtml.cpp index efe8f3f..d6be9c9 100644 --- a/bibletime/backend/bt_osishtml.cpp +++ b/bibletime/backend/bt_osishtml.cpp @@ -31,7 +31,7 @@ #include <klocale.h> //Qt includes -#include <qstring.h> +#include <tqstring.h> using sword::SWBuf; using sword::XMLTag; @@ -298,7 +298,7 @@ bool BT_OSISHTML::handleToken(sword::SWBuf &buf, const char *token, sword::Basic buf.append('/'); buf.append(myUserData->key->getShortText()); buf.append('/'); - buf.append( QString::number(myUserData->swordFootnote++).latin1() ); //inefficient + buf.append( TQString::number(myUserData->swordFootnote++).latin1() ); //inefficient const SWBuf n = tag.getAttribute("n"); @@ -334,8 +334,8 @@ bool BT_OSISHTML::handleToken(sword::SWBuf &buf, const char *token, sword::Basic else if (!strcmp(tag.getName(), "reference")) { // <reference> tag if (!tag.isEndTag() && !tag.isEmpty()) { - QString ref( tag.getAttribute("osisRef") ); - QString hrefRef( ref ); + TQString ref( tag.getAttribute("osisRef") ); + TQString hrefRef( ref ); Q_ASSERT(!ref.isEmpty()); if (!ref.isEmpty()) { @@ -357,7 +357,7 @@ bool BT_OSISHTML::handleToken(sword::SWBuf &buf, const char *token, sword::Basic int pos = ref.find(":"); if ((pos >= 0) && ref.at(pos-1).isLetter() && ref.at(pos+1).isLetter()) { - QString newModuleName = ref.left(pos); + TQString newModuleName = ref.left(pos); hrefRef = ref.mid(pos+1); if (CPointers::backend()->findModuleByName(newModuleName)) { @@ -366,10 +366,10 @@ bool BT_OSISHTML::handleToken(sword::SWBuf &buf, const char *token, sword::Basic } CReferenceManager::ParseOptions options; - options.refBase = QString::fromUtf8(myUserData->key->getText()); - options.refDestinationModule = QString(mod->name()); - options.sourceLanguage = QString(myModule->Lang()); - options.destinationLanguage = QString("en"); + options.refBase = TQString::fromUtf8(myUserData->key->getText()); + options.refDestinationModule = TQString(mod->name()); + options.sourceLanguage = TQString(myModule->Lang()); + options.destinationLanguage = TQString("en"); buf.append("<a href=\""); buf.append( //create the hyperlink with key and mod @@ -599,7 +599,7 @@ bool BT_OSISHTML::handleToken(sword::SWBuf &buf, const char *token, sword::Basic else { // seg end tag buf.append("</span>"); } - //qWarning(QString("handled <seg> token. result: %1").arg(buf.c_str()).latin1()); + //qWarning(TQString("handled <seg> token. result: %1").arg(buf.c_str()).latin1()); } //divine name, don't use simple tag replacing because it may have attributes |