diff options
Diffstat (limited to 'bibletime/backend/cdisplayrendering.cpp')
-rw-r--r-- | bibletime/backend/cdisplayrendering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bibletime/backend/cdisplayrendering.cpp b/bibletime/backend/cdisplayrendering.cpp index 74e3590..48445a9 100644 --- a/bibletime/backend/cdisplayrendering.cpp +++ b/bibletime/backend/cdisplayrendering.cpp @@ -117,7 +117,7 @@ namespace Rendering { TQString text = oldText; TQRegExp re("(\\b)(?=\\w)"); //word begin marker - int pos = text.tqfind(re, 0); + int pos = text.find(re, 0); while (pos != -1) { //word begin found //qWarning("found word at %i in %i", pos, text.length()); @@ -126,7 +126,7 @@ namespace Rendering { //qWarning("matched %s", text.mid(pos+1, 4).latin1()); //find end of word and put a marker around it - endPos = text.tqfind(TQRegExp("\\b|[,.:]"), pos+1); + endPos = text.find(TQRegExp("\\b|[,.:]"), pos+1); if ((endPos != -1) && !CToolClass::inHTMLTag(endPos, text) && (endPos - pos >= 3)) { //reuire wordslonger than 3 chars text.insert(endPos, "</span>"); text.insert(pos, "<span class=\"word\">"); @@ -134,7 +134,7 @@ namespace Rendering { endPos += 26; } } - pos = text.tqfind(re, endPos); + pos = text.find(re, endPos); } */ const CLanguageMgr::Language* const lang = |