summaryrefslogtreecommitdiffstats
path: root/kanagram/src/keduvockvtmlwriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kanagram/src/keduvockvtmlwriter.cpp')
-rw-r--r--kanagram/src/keduvockvtmlwriter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kanagram/src/keduvockvtmlwriter.cpp b/kanagram/src/keduvockvtmlwriter.cpp
index 91f3e81e..8cb96cc6 100644
--- a/kanagram/src/keduvockvtmlwriter.cpp
+++ b/kanagram/src/keduvockvtmlwriter.cpp
@@ -126,7 +126,7 @@ bool KEduVocKvtmlWriter::saveLessonKvtMl (TQDomDocument &domDoc, TQDomElement &d
if (m_doc->getCurrentLesson() == lfn+1)
domElementDesc.setAttribute (KV_LESS_CURR, 1);
if (lfn < (int) m_doc->lessons_in_query.size() && m_doc->lessons_in_query[lfn])
- domElementDesc.setAttribute (KV_LESS_TQUERY, 1);
+ domElementDesc.setAttribute (KV_LESS_QUERY, 1);
domElementDesc.appendChild(domTextDesc);
domElementLesson.appendChild(domElementDesc);
@@ -746,9 +746,9 @@ bool KEduVocKvtmlWriter::writeDoc(KEduVocDocument *doc, const TQString &generato
s = "original";
domElementOriginal.setAttribute (KV_LANG, s);
if (s == q_org)
- domElementOriginal.setAttribute(KV_TQUERY, (TQString) KV_O);
+ domElementOriginal.setAttribute(KV_QUERY, (TQString) KV_O);
else if (s == q_trans)
- domElementOriginal.setAttribute(KV_TQUERY, (TQString) KV_T);
+ domElementOriginal.setAttribute(KV_QUERY, (TQString) KV_T);
}
@@ -825,9 +825,9 @@ bool KEduVocKvtmlWriter::writeDoc(KEduVocDocument *doc, const TQString &generato
}
domElementTranslation.setAttribute(KV_LANG, s);
if (s == q_org)
- domElementTranslation.setAttribute(KV_TQUERY, (TQString) KV_O);
+ domElementTranslation.setAttribute(KV_QUERY, (TQString) KV_O);
else if (s == q_trans)
- domElementTranslation.setAttribute(KV_TQUERY, (TQString) KV_T);
+ domElementTranslation.setAttribute(KV_QUERY, (TQString) KV_T);
}
TQString s1, s2;