LibKEduVocDocument

kvtml2defs.h
1/*
2 * Vocabulary Document for KDE Edu KVTML version 2
3 * SPDX-FileCopyrightText: 2007 Jeremy Whiting <jpwhiting@kde.org>
4 * SPDX-FileCopyrightText: 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7#ifndef KVTML2DEFS_H
8#define KVTML2DEFS_H
9
10#define KVTML_TAG "kvtml"
11#define KVTML_VERSION "version"
12#define KVTML_ID "id"
13
14#define KVTML_INFORMATION "information"
15
16#define KVTML_GENERATOR "generator"
17#define KVTML_TITLE "title"
18#define KVTML_AUTHOR "author"
19#define KVTML_AUTHORCONTACT "contact"
20#define KVTML_LICENSE "license"
21#define KVTML_COMMENT "comment"
22#define KVTML_CATEGORY "category"
23
24#define KVTML_IDENTIFIERS "identifiers"
25#define KVTML_IDENTIFIER "identifier"
26#define KVTML_IDENTIFIERTYPE "identifiertype"
27#define KVTML_LOCALE "locale"
28#define KVTML_NAME "name"
29#define KVTML_SIZEHINT "sizehint"
30
31// articles
32#define KVTML_ARTICLE "article"
33
34// conjugation, declension and personal pronouns
35#define KVTML_CONJUGATION "conjugation"
36#define KVTML_CONJUGATIONTYPE "conjugationtype"
37#define KVTML_PERSONALPRONOUNS "personalpronouns"
38#define KVTML_DECLENSION "declension"
39
40static const QString KVTML_DECLENSION_CASE[] = {"nominative", "genitive", "dative", "accusative", "ablative", "locative", "vocative"};
41
42static const QString KVTML_GRAMMATICAL_NUMBER[] = {"singular",
43 "dual", // dual is the case where there's a special form for exactly two
44 "plural"};
45
46static const QString KVTML_GRAMMATICAL_GENDER[] = {"male", "female", "neutral"};
47
48static const QString KVTML_GRAMMATICAL_PERSON[] = {"firstperson", "secondperson", "thirdpersonmale", "thirdpersonfemale", "thirdpersonneutralcommon"};
49
50static const QString KVTML_GRAMMATICAL_DEFINITENESS[] = {"definite", "indefinite"};
51
52// for the personal pronuns:
53// if this tag exists, in a conjugation male/female are different
54#define KVTML_THIRD_PERSON_MALE_FEMALE_DIFFERENT "malefemaledifferent"
55// if this tag exists conjugations even have a neutral form for the third person
56#define KVTML_THIRD_PERSON_NEUTRAL_EXISTS "neutralexists"
57#define KVTML_DUAL_EXISTS "dualexists"
58
59// word types, lessons and leitner boxes are vocabulary containers.
60// each is allowed to have as many child containers as desired.
61// for KDE 4.0 Parley will only allow a depth of wordtype children of two,
62// leitner is not implemented at all.
63// it is assumed that one container only has children of the same type.
64// containers may have an image associated to represent them visually.
65#define KVTML_WORDTYPES "wordtypes"
66#define KVTML_LESSONS "lessons"
67#define KVTML_LEITNERBOXES "leitnerboxes"
68#define KVTML_CONTAINER "container"
69#define KVTML_INPRACTICE "inpractice"
70
71// these are necessary to enable practices based on word types. users can give types arbitrary names, but these few are hardcoded. special container types
72#define KVTML_SPECIALWORDTYPE "specialwordtype"
73#define KVTML_SPECIALWORDTYPE_NOUN "noun"
74#define KVTML_SPECIALWORDTYPE_NOUN_MALE "noun/male"
75#define KVTML_SPECIALWORDTYPE_NOUN_FEMALE "noun/female"
76#define KVTML_SPECIALWORDTYPE_NOUN_NEUTRAL "noun/neutral"
77#define KVTML_SPECIALWORDTYPE_VERB "verb"
78#define KVTML_SPECIALWORDTYPE_ADJECTIVE "adjective"
79#define KVTML_SPECIALWORDTYPE_ADVERB "adverb"
80#define KVTML_SPECIALWORDTYPE_CONJUNCTION "conjunction"
81
82#define KVTML_TENSES "tenses"
83#define KVTML_TENSE "tense"
84
85#define KVTML_USAGES "usages"
86#define KVTML_USAGE "usage"
87
88#define KVTML_CURRENT "current"
89
90#define KVTML_ENTRIES "entries"
91#define KVTML_ENTRY "entry"
92#define KVTML_DEACTIVATED "deactivated"
93
94#define KVTML_TRANSLATION "translation"
95#define KVTML_TEXT "text"
96#define KVTML_PRONUNCIATION "pronunciation"
97
98#define KVTML_PAIR "pair"
99#define KVTML_FALSEFRIEND "falsefriend"
100#define KVTML_ANTONYM "antonym"
101#define KVTML_SYNONYM "synonym"
102
103#define KVTML_EXAMPLE "example"
104#define KVTML_PARAPHRASE "paraphrase"
105
106#define KVTML_COMPARISON "comparison"
107#define KVTML_ABSOLUTE "absolute"
108#define KVTML_COMPARATIVE "comparative"
109#define KVTML_SUPERLATIVE "superlative"
110
111#define KVTML_MULTIPLECHOICE "multiplechoice"
112#define KVTML_CHOICE "choice"
113
114#define KVTML_IMAGE "image"
115#define KVTML_SOUND "sound"
116
117#define KVTML_GRADE "grade"
118#define KVTML_FROMID "fromid"
119#define KVTML_PREGRADE "pregrade"
120#define KVTML_CURRENTGRADE "currentgrade"
121#define KVTML_COUNT "count"
122#define KVTML_ERRORCOUNT "errorcount"
123#define KVTML_DATE "date"
124#define KVTML_INTERVAL "interval"
125
126#define KVTML_TRUE "true"
127#define KVTML_FALSE "false"
128
129#endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.