• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

libkdeedu/keduvocdocument

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

KDE's Doxygen guidelines are available online.

libkdeedu/keduvocdocument

Skip menu "libkdeedu/keduvocdocument"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal