From 0a6e0958c03e41c87b15557b6f407874f20c2f8d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:39:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kanagram/src/keduvockvtmlreader.h | 64 +++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'kanagram/src/keduvockvtmlreader.h') diff --git a/kanagram/src/keduvockvtmlreader.h b/kanagram/src/keduvockvtmlreader.h index 9d902183..a68d4575 100644 --- a/kanagram/src/keduvockvtmlreader.h +++ b/kanagram/src/keduvockvtmlreader.h @@ -19,8 +19,8 @@ #ifndef KEDUVOCKVTMLREADER_H #define KEDUVOCKVTMLREADER_H -#include -#include +#include +#include #include "keduvocdocument.h" #include "grammarmanager.h" @@ -71,50 +71,50 @@ class KEduVocDocument; class KEduVocKvtmlReader : public QObject { public: - KEduVocKvtmlReader(QFile *file); + KEduVocKvtmlReader(TQFile *file); ~KEduVocKvtmlReader(); bool readDoc(KEduVocDocument *doc); - bool readLesson(QDomElement &domElementParent); - bool readArticle(QDomElement &domElementParent); - bool readConjug(QDomElement &domElementParent, + bool readLesson(TQDomElement &domElementParent); + bool readArticle(TQDomElement &domElementParent); + bool readConjug(TQDomElement &domElementParent, vector &curr_conjug, - const QString &entry_tag); - bool readOptions(QDomElement &domElementParent); - bool readType(QDomElement &domElementParent); - bool readTense(QDomElement &domElementParent); - bool readUsage(QDomElement &domElementParent); - bool readComparison(QDomElement &domElementParent, + const TQString &entry_tag); + bool readOptions(TQDomElement &domElementParent); + bool readType(TQDomElement &domElementParent); + bool readTense(TQDomElement &domElementParent); + bool readUsage(TQDomElement &domElementParent); + bool readComparison(TQDomElement &domElementParent, Comparison &comp); - bool readMultipleChoice(QDomElement &domElementParent, + bool readMultipleChoice(TQDomElement &domElementParent, MultipleChoice &mc); - bool readExpressionChildAttributes( QDomElement &domElementExpressionChild, - QString &lang, + bool readExpressionChildAttributes( TQDomElement &domElementExpressionChild, + TQString &lang, grade_t &grade, grade_t &rev_grade, int &count, int &rev_count, time_t &date, time_t &rev_date, - QString &remark, + TQString &remark, int &bcount, int &rev_bcount, - QString &query_id, - QString &pronunce, + TQString &query_id, + TQString &pronunce, int &width, - QString &type, - QString &faux_ami_f, - QString &faux_ami_t, - QString &synonym, - QString &example, - QString &antonym, - QString &usage, - QString ¶phrase); - bool readExpression(QDomElement &domElementParent); - bool readBody(QDomElement &domElementParent); - - void domErrorUnknownElement(const QString &elem); - void domError(const QString &text ); + TQString &type, + TQString &faux_ami_f, + TQString &faux_ami_t, + TQString &synonym, + TQString &example, + TQString &antonym, + TQString &usage, + TQString ¶phrase); + bool readExpression(TQDomElement &domElementParent); + bool readBody(TQDomElement &domElementParent); + + void domErrorUnknownElement(const TQString &elem); + void domError(const TQString &text ); private: - QFile *m_inputFile; + TQFile *m_inputFile; KEduVocDocument *m_doc; }; -- cgit v1.2.1