summaryrefslogtreecommitdiffstats
path: root/kverbos/kverbos/kverbosdoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kverbos/kverbos/kverbosdoc.cpp')
-rw-r--r--kverbos/kverbos/kverbosdoc.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kverbos/kverbos/kverbosdoc.cpp b/kverbos/kverbos/kverbosdoc.cpp
index 2fd68712..c3d97e1d 100644
--- a/kverbos/kverbos/kverbosdoc.cpp
+++ b/kverbos/kverbos/kverbosdoc.cpp
@@ -232,9 +232,9 @@ bool KVerbosDoc::openDocHTML(TQFile &f)
s = t.readLine();
if (s.left(9) == "<td width")
{
- int a = s.tqfind('>', 22, true);
+ int a = s.find('>', 22, true);
a++;
- int e = s.tqfind('<', a, true);
+ int e = s.find('<', a, true);
v[count1] = s.mid(a, e-a);
count1++;
};
@@ -294,9 +294,9 @@ bool KVerbosDoc::openDocHTML(TQFile &f)
s = t.readLine();
if ((s.left(4) == "<td>") && (s != "<td></td><td></td><td></td><td></td><td></td></tr><tr>"))
{
- int a = s.tqfind('>', 2, true);
+ int a = s.find('>', 2, true);
a++;
- int e = s.tqfind('<', a, true);
+ int e = s.find('<', a, true);
forms[count2] = s.mid(a, e-a);
count2++;
if (14 == count2)
@@ -324,9 +324,9 @@ bool KVerbosDoc::openDocHTML(TQFile &f)
{
// kommt ein Leerzeichen vor, muss man die Form aufteilen: In das
// Reflexivpronomen und das eigentliche Verb
- if (forms[i].tqfind(' ') >= 0)
+ if (forms[i].find(' ') >= 0)
{
- NewVerb.setForm(a, b, forms[i].right(forms[i].length()-forms[i].tqfind(' ')-1));
+ NewVerb.setForm(a, b, forms[i].right(forms[i].length()-forms[i].find(' ')-1));
}
else
{
@@ -344,9 +344,9 @@ bool KVerbosDoc::openDocHTML(TQFile &f)
int offs = 30;
// kommt ein Leerzeichen vor, muss man die Form aufteilen: In das
// Reflexivpronomen und das eigentliche Verb
- if (forms[i+offs].tqfind(' ') >= 0)
+ if (forms[i+offs].find(' ') >= 0)
{
- NewVerb.setForm(a, b, forms[i+offs].right(forms[i+offs].length()-forms[i+offs].tqfind(' ')-1));
+ NewVerb.setForm(a, b, forms[i+offs].right(forms[i+offs].length()-forms[i+offs].find(' ')-1));
}
else
{