#ifndef KEDUVOCDOCUMENT_H
#define KEDUVOCDOCUMENT_H
+#include <QString>
+
#define KVD_ZERO_TIME 934329599 // 1999-08-10 23:59:59, never change
#define KVD_VERS_PREFIX " v" // kvoctrain v0.1.0
/** XML tags and attribute names */
-#define KV_DOCTYPE "kvtml" // doctype
+
+static const QLatin1String KV_DOCTYPE("kvtml"); // doctype
#define KV_TITLE "title" // doc title
#define KV_AUTHOR "author" // doc author
#define KV_LICENSE "license" // doc license
#define KV_ENCODING "encoding" // document encoding (obsolete!)
#define KV_EXPR "e" // entry for one expression
-#define KV_ORG "o" // original expression in specified language
-#define KV_TRANS "t" // translated expression in specified language
+static const QLatin1String KV_ORG("o"); // original expression in specified language
+static const QLatin1String 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_O "o" // org
*/
#define KV_ARTICLE_GRP "article" // article descriptor group
-#define KV_ART_ENTRY "e" // article entry
+static const QLatin1String KV_ART_ENTRY("e"); // article entry
#define KV_ART_FD "fd" // female definite
#define KV_ART_MD "md" // male definite
#define KV_ART_ND "nd" // natural definite