summaryrefslogtreecommitdiffstats
path: root/kanagram/src/keduvockvtmlreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kanagram/src/keduvockvtmlreader.cpp')
-rw-r--r--kanagram/src/keduvockvtmlreader.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kanagram/src/keduvockvtmlreader.cpp b/kanagram/src/keduvockvtmlreader.cpp
index 687fdaee..44a4772d 100644
--- a/kanagram/src/keduvockvtmlreader.cpp
+++ b/kanagram/src/keduvockvtmlreader.cpp
@@ -783,7 +783,7 @@ bool KEduVocKvtmlReader::readExpressionChildAttributes( TQDomElement &domElement
if (!domAttrGrade.isNull())
{
TQString s = domAttrGrade.value();
- if ((pos = s.tqfind(';')) >= 1)
+ if ((pos = s.find(';')) >= 1)
{
grade = s.left(pos).toInt();
rev_grade = s.mid(pos+1, s.length()).toInt();
@@ -798,7 +798,7 @@ bool KEduVocKvtmlReader::readExpressionChildAttributes( TQDomElement &domElement
if (!domAttrCount.isNull())
{
TQString s = domAttrCount.value();
- if ((pos = s.tqfind(';')) >= 1)
+ if ((pos = s.find(';')) >= 1)
{
count = s.left(pos).toInt();
rev_count = s.mid(pos+1, s.length()).toInt();
@@ -813,7 +813,7 @@ bool KEduVocKvtmlReader::readExpressionChildAttributes( TQDomElement &domElement
if (!domAttrBad.isNull())
{
TQString s = domAttrBad.value();
- if ((pos = s.tqfind(';')) >= 1)
+ if ((pos = s.find(';')) >= 1)
{
bcount = s.left(pos).toInt();
rev_bcount = s.mid(pos+1, s.length()).toInt();
@@ -828,7 +828,7 @@ bool KEduVocKvtmlReader::readExpressionChildAttributes( TQDomElement &domElement
if (!domAttrDate.isNull())
{
TQString s = domAttrDate.value();
- if ((pos = s.tqfind(';')) >= 1)
+ if ((pos = s.find(';')) >= 1)
{
date = s.left(pos).toInt();
rev_date = s.mid(pos+1, s.length()).toInt();
@@ -841,7 +841,7 @@ bool KEduVocKvtmlReader::readExpressionChildAttributes( TQDomElement &domElement
if (!domAttrDate2.isNull())
{
TQString s = domAttrDate2.value();
- if ((pos = s.tqfind(';')) >= 1)
+ if ((pos = s.find(';')) >= 1)
{
date = m_doc->decompressDate(s.left(pos));
rev_date = m_doc->decompressDate(s.mid(pos+1, s.length()));
@@ -1633,7 +1633,7 @@ bool KEduVocKvtmlReader::readDoc(KEduVocDocument *doc)
if (!domAttrGenerator.isNull())
{
m_doc->generator = domAttrGenerator.value();
- int pos = m_doc->generator.tqfindRev (KVD_VERS_PREFIX);
+ int pos = m_doc->generator.findRev (KVD_VERS_PREFIX);
if (pos >= 0)
{
m_doc->doc_version = m_doc->generator;