summaryrefslogtreecommitdiffstats
path: root/src/ks_osishtml.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-23 00:43:43 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-23 00:43:43 +0200
commite03da7a558d79e399e3704a5b2f35646e92dacb7 (patch)
treee9948950e8947f6978fa3270605d04f94216515b /src/ks_osishtml.cpp
parentb9d8d75902c4603fa10c63735873816556a7468c (diff)
downloadtdeio-sword-e03da7a558d79e399e3704a5b2f35646e92dacb7.tar.gz
tdeio-sword-e03da7a558d79e399e3704a5b2f35646e92dacb7.zip
Initial TQt conversion
Diffstat (limited to 'src/ks_osishtml.cpp')
-rw-r--r--src/ks_osishtml.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ks_osishtml.cpp b/src/ks_osishtml.cpp
index 973a627..6bda142 100644
--- a/src/ks_osishtml.cpp
+++ b/src/ks_osishtml.cpp
@@ -30,7 +30,7 @@
#include <versekey.h>
#include <swmodule.h>
-#include <qstring.h>
+#include <ntqstring.h>
#include <stdlib.h>
@@ -100,12 +100,12 @@ namespace KioSword {
val = strchr(attrib, ':');
val = (val) ? (val + 1) : attrib;
if (*val == '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(val+1)
.arg(swordUrlForSearch(GREEKSTRONGS, val+1, m_swordoptions))
.utf8());
} else if (*val == '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(val+1)
.arg(swordUrlForSearch(HEBREWSTRONGS, val+1, m_swordoptions))
.utf8());
@@ -121,18 +121,18 @@ namespace KioSword {
val = strchr(attrib, ':');
val = (val) ? (val + 1) : attrib;
if (!strncmp(attrib, "x-Robinson",10)) { //robinson codes
- 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(val)
.arg(swordUrlForSearch(GREEKMORPH, val, m_swordoptions))
.utf8());
} else if ((*val == 'T')) {
if (val[1] == 'G') {
- 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(val+1)
.arg(swordUrlForSearch(GREEKMORPH, val+1, m_swordoptions))
.utf8());
} else if (val[1] == 'H') {
- 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(val+1)
.arg(swordUrlForSearch(HEBREWMORPH, val+1, m_swordoptions))
.utf8());