From b894a7fe4004642db0755190e4a994befdf301bb Mon Sep 17 00:00:00 2001 From: Peter Hedlund Date: Wed, 9 May 2007 21:52:25 +0000 Subject: [PATCH] EBN/Krazy fixes. svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=663039 --- kdeeducore/keduvockvtmlreader.cpp | 20 ++++++++++---------- kdeeducore/keduvockvtmlreader.h | 2 +- kdeeducore/keduvocmultiplechoice.h | 2 +- kdeeducore/leitnerbox.h | 2 +- kdeeducore/leitnersystem.h | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/kdeeducore/keduvockvtmlreader.cpp b/kdeeducore/keduvockvtmlreader.cpp index 719304e..925a879 100644 --- a/kdeeducore/keduvockvtmlreader.cpp +++ b/kdeeducore/keduvockvtmlreader.cpp @@ -825,7 +825,7 @@ bool KEduVocKvtmlReader::readExpressionChildAttributes( QDomElement &domElementE QString &remark, int &bcount, int &rev_bcount, QString &query_id, - QString &pronunce, + QString &pronunciation, int &width, QString &type, QString &faux_ami_f, @@ -1004,10 +1004,10 @@ bool KEduVocKvtmlReader::readExpressionChildAttributes( QDomElement &domElementE } } - pronunce = ""; + pronunciation = ""; attribute = domElementExpressionChild.attributeNode(KV_PRONUNCE); if (!attribute.isNull()) - pronunce = attribute.value(); + pronunciation = attribute.value(); query_id = ""; attribute = domElementExpressionChild.attributeNode(KV_QUERY); @@ -1027,7 +1027,7 @@ bool KEduVocKvtmlReader::readExpression(QDomElement &domElementParent) int bcount; int r_bcount; QString remark; - QString pronunce; + QString pronunciation; QDateTime qdate; QDateTime r_qdate; bool inquery; @@ -1142,7 +1142,7 @@ bool KEduVocKvtmlReader::readExpression(QDomElement &domElementParent) //----------- // Attributes if (!readExpressionChildAttributes(currentElement, lang, grade, r_grade, qcount, r_qcount, qdate, r_qdate, remark, bcount, r_bcount, query_id, - pronunce, width, type, faux_ami_t, faux_ami_f, synonym, example, antonym, usage, paraphrase)) + pronunciation, width, type, faux_ami_t, faux_ami_f, synonym, example, antonym, usage, paraphrase)) return false; @@ -1227,8 +1227,8 @@ bool KEduVocKvtmlReader::readExpression(QDomElement &domElementParent) } if (!remark.isEmpty() ) expr.setRemark (0, remark); - if (!pronunce.isEmpty() ) - expr.setPronunciation(0, pronunce); + if (!pronunciation.isEmpty() ) + expr.setPronunciation(0, pronunciation); if (!type.isEmpty() ) expr.setType(0, type); if (!synonym.isEmpty() ) @@ -1261,7 +1261,7 @@ bool KEduVocKvtmlReader::readExpression(QDomElement &domElementParent) // Attributes if (!readExpressionChildAttributes( currentElement, lang, grade, r_grade, qcount, r_qcount, qdate, r_qdate, remark, bcount, r_bcount, query_id, - pronunce, width, type, faux_ami_f, faux_ami_t, synonym, example, antonym, usage, paraphrase)) + pronunciation, width, type, faux_ami_f, faux_ami_t, synonym, example, antonym, usage, paraphrase)) return false; if (m_doc->entryCount() == 0) @@ -1353,8 +1353,8 @@ bool KEduVocKvtmlReader::readExpression(QDomElement &domElementParent) expr.setType (count, type); if (!remark.isEmpty() ) expr.setRemark (count, remark); - if (!pronunce.isEmpty() ) - expr.setPronunciation(count, pronunce); + if (!pronunciation.isEmpty() ) + expr.setPronunciation(count, pronunciation); if (!faux_ami_f.isEmpty() ) expr.setFauxAmi (count, faux_ami_f, false); if (!faux_ami_t.isEmpty() ) diff --git a/kdeeducore/keduvockvtmlreader.h b/kdeeducore/keduvockvtmlreader.h index e2962f9..369584b 100644 --- a/kdeeducore/keduvockvtmlreader.h +++ b/kdeeducore/keduvockvtmlreader.h @@ -95,7 +95,7 @@ public: QString &remark, int &bcount, int &rev_bcount, QString &query_id, - QString &pronunce, + QString &pronunciation, int &width, QString &type, QString &faux_ami_f, diff --git a/kdeeducore/keduvocmultiplechoice.h b/kdeeducore/keduvocmultiplechoice.h index 005a385..1afba70 100644 --- a/kdeeducore/keduvocmultiplechoice.h +++ b/kdeeducore/keduvocmultiplechoice.h @@ -29,7 +29,7 @@ #include -#include +#include #define MAX_MULTIPLE_CHOICE 5 // select one out of x diff --git a/kdeeducore/leitnerbox.h b/kdeeducore/leitnerbox.h index 1d4b7b2..8736958 100644 --- a/kdeeducore/leitnerbox.h +++ b/kdeeducore/leitnerbox.h @@ -22,7 +22,7 @@ #include -#include +#include /** * A box in a LeitnerSystem - a LeitnerBox diff --git a/kdeeducore/leitnersystem.h b/kdeeducore/leitnersystem.h index f5d3f51..f1a5bc5 100644 --- a/kdeeducore/leitnersystem.h +++ b/kdeeducore/leitnersystem.h @@ -22,7 +22,7 @@ #include -#include +#include #include "leitnerbox.h" -- 2.47.3