summaryrefslogtreecommitdiffstats
path: root/kanagram/src/keduvocdocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'kanagram/src/keduvocdocument.h')
-rw-r--r--kanagram/src/keduvocdocument.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/kanagram/src/keduvocdocument.h b/kanagram/src/keduvocdocument.h
index ebc48010..468f3089 100644
--- a/kanagram/src/keduvocdocument.h
+++ b/kanagram/src/keduvocdocument.h
@@ -48,7 +48,7 @@
#define KV_ORG "o" // original expression in specified language
#define KV_TRANS "t" // translated expression in specified language
#define KV_LANG "l" // language: en, de, it, fr ...
-#define KV_QUERY "q" // query: org or translation
+#define KV_TQUERY "q" // query: org or translation
#define KV_O "o" // org
#define KV_T "t" // translation
#define KV_GRADE "g" // grade of knowledge: 0=well known, x=not known for x times
@@ -104,7 +104,7 @@
#define KV_LESS_GRP "lesson" // lesson descriptor group
#define KV_LESS_CURR "current" // is current lesson
#define KV_LESS_DESC "desc" // lesson descriptor
-#define KV_LESS_QUERY "query" // lesson contained in query
+#define KV_LESS_TQUERY "query" // lesson contained in query
#define KV_LESS_NO "no" // lesson descriptor number
/*
@@ -232,7 +232,7 @@
#define KVTML_EXT "kvtml"
#define VT5_LEX_EXT "lex"
-#define QVOCAB_EXT "qvo"
+#define TQVOCAB_EXT "qvo"
#define VCB_EXT "vocab"
#define KVL_EXT "vl"
#define CSV_EXT "csv"
@@ -249,9 +249,10 @@ class LeitnerSystem;
* This class contains the expressions of your vocabulary
************************************************************/
-class KEduVocDocument : public QObject
+class KEduVocDocument : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
friend class KEduVocKvtmlWriter;
friend class KEduVocKvtmlReader;
@@ -439,7 +440,7 @@ class KEduVocDocument : public QObject
* @param url if url is empty (or NULL) actual name is preserved
* @result true if successful
*/
- bool saveAs(TQObject *parent, const KURL & url, FileType ft, const TQString & generator);
+ bool saveAs(TQObject *tqparent, const KURL & url, FileType ft, const TQString & generator);
/** returns count of entries
*/