summaryrefslogtreecommitdiffstats
path: root/kanagram/src/keduvockvtmlreader.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kanagram/src/keduvockvtmlreader.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kanagram/src/keduvockvtmlreader.h')
-rw-r--r--kanagram/src/keduvockvtmlreader.h64
1 files changed, 32 insertions, 32 deletions
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 <qfile.h>
-#include <qdom.h>
+#include <tqfile.h>
+#include <tqdom.h>
#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<Conjugation> &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 &paraphrase);
- 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 &paraphrase);
+ 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;
};