summaryrefslogtreecommitdiffstats
path: root/src/ks_thmlhtml.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-09-23 00:43:43 +0200
committerSlávek Banko <[email protected]>2013-09-23 00:43:43 +0200
commite03da7a558d79e399e3704a5b2f35646e92dacb7 (patch)
treee9948950e8947f6978fa3270605d04f94216515b /src/ks_thmlhtml.cpp
parentb9d8d75902c4603fa10c63735873816556a7468c (diff)
downloadtdeio-sword-e03da7a558d79e399e3704a5b2f35646e92dacb7.tar.gz
tdeio-sword-e03da7a558d79e399e3704a5b2f35646e92dacb7.zip
Initial TQt conversion
Diffstat (limited to 'src/ks_thmlhtml.cpp')
-rw-r--r--src/ks_thmlhtml.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ks_thmlhtml.cpp b/src/ks_thmlhtml.cpp
index 2ee3175..6dc51be 100644
--- a/src/ks_thmlhtml.cpp
+++ b/src/ks_thmlhtml.cpp
@@ -74,7 +74,7 @@ namespace KioSword {
} else if (tag.getAttribute("type") && !strcasecmp(tag.getAttribute("type"), "morph")) { // Morph
const char *value = tag.getAttribute("value");
if (value) {
- buf.append(QString(" <span class='morph'>(<a href=\"%2\">%1</a>)</span>")
+ buf.append(TQString(" <span class='morph'>(<a href=\"%2\">%1</a>)</span>")
.arg(value)
.arg(swordUrlForSearch(GREEKMORPH, value, m_swordoptions))
.utf8());
@@ -84,13 +84,13 @@ namespace KioSword {
tag.getAttribute("value");
if (value && value[0] == 'H') { // hewbrew strongs number
// value + 1 => skip the H
- buf.append(QString(" <span class='strongs'>&lt;<a href=\"%2\">%1</a>&gt;</span>")
+ buf.append(TQString(" <span class='strongs'>&lt;<a href=\"%2\">%1</a>&gt;</span>")
.arg(value + 1)
.arg(swordUrlForSearch(HEBREWSTRONGS, value + 1, m_swordoptions))
.utf8());
} else if (value && value[0] == 'G') { //greek strongs number
// value + 1 => skip the G
- buf.append(QString(" <span class='strongs'>&lt;<a href=\"%2\">%1</a>&gt;</span>")
+ buf.append(TQString(" <span class='strongs'>&lt;<a href=\"%2\">%1</a>&gt;</span>")
.arg(value + 1)
.arg(swordUrlForSearch(GREEKSTRONGS, value + 1, m_swordoptions))
.utf8());