• 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
kvtmldefs.h
Go to the documentation of this file.
1 /***************************************************************************
2  Vocabulary Document for KDE Edu
3  -----------------------------------------------------------------------
4  copyright : (C) 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
5 
6  (C) 2005, 2007 Peter Hedlund <peter.hedlund@kdemail.net>
7  (C) 2007 Frederik Gladhorn <frederik.gladhorn@kdemail.net>
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 
19 #ifndef KVTMLDEFS_H
20 #define KVTMLDEFS_H
21 
22 
23 
26 static const QLatin1String KV_DOCTYPE( "kvtml" ); // doctype
27 #define KV_TITLE "title" // doc title
28 #define KV_AUTHOR "author" // doc author
29 #define KV_LICENSE "license" // doc license
30 #define KV_DOC_REM "remark" // doc remark
31 #define KV_LINES "lines" // entries
32 #define KV_GENERATOR "generator" // who generated the doc
33 #define KV_COLS "cols" // columns
34 #define KV_ENCODING "encoding" // document encoding (obsolete!)
35 
36 #define KV_EXPR "e" // entry for one expression
37 static const QLatin1String KV_ORG( "o" ); // original expression in specified language
38 static const QLatin1String KV_TRANS( "t" ); // translated expression in specified language
39 #define KV_LANG "l" // language: en, de, it, fr ...
40 #define KV_QUERY "q" // query: org or translation
41 #define KV_O "o" // org
42 #define KV_T "t" // translation
43 #define KV_GRADE "g" // grade of knowledge: 0=well known, x=not known for x times
44 #define KV_LESS_MEMBER "m" // member of lesson 1 .. x
45 #define KV_COUNT "c" // number of times queried
46 #define KV_SIZEHINT "width" // recommended column width
47 #define KV_CHARSET "charset" // recommended charset (obsolete!)
48 #define KV_BAD "b" // number of times failed
49 #define KV_DATE "d" // last query date
50 #define KV_DATE2 "w" // last query date, compressed format, deprecated, currently ignored
51 #define KV_REMARK "r" // remark for this entry
52 #define KV_FAUX_AMI_F "ff" // false friend of this entry from org
53 #define KV_FAUX_AMI_T "tf" // false friend of this entry to org
54 #define KV_SYNONYM "y" // synonym (same meaning) of expr
55 #define KV_ANTONYM "a" // antonym (oppositite) of expr
56 #define KV_PRONUNCE "p" // how to pronounce this expression
57 #define KV_SELECTED "s" // entry selected for queries
58 #define KV_INACTIVE "i" // entry inactive (for queries)
59 #define KV_EXPRTYPE "t" // type of expression
60 #define KV_EXAMPLE "x" // example string with word
61 #define KV_USAGE "u" // usage label
62 #define KV_PARAPHRASE "h" // paraphrase for expression
63 
64 /*
65  <type>
66  <desc no="1">My type 1</desc>
67  <desc no="2">My type 2</desc>
68  </type>
69 */
70 
71 #define KV_TYPE_GRP "type" // type descriptor group
72 #define KV_TYPE_DESC "desc" // type descriptor
73 #define KV_TYPE_NO "no" // type descriptor number
74 
75 /*
76  <usage>
77  <desc no="1">My usage 1</desc>
78  <desc no="2">My usage 2</desc>
79  </type>
80 */
81 
82 #define KV_USAGE_GRP "usage" // usage descriptor group
83 #define KV_USAGE_DESC "desc" // usage descriptor
84 #define KV_USAGE_NO "no" // usage descriptor number
85 
86 /*
87  <lesson width="138">
88  <desc no="1">Lesson #1</desc>
89  <desc no="2" query="1">Lesson #2</desc>
90  </lesson>
91 */
92 
93 #define KV_LESS_GRP "lesson" // lesson descriptor group
94 #define KV_LESS_CURR "current" // is current lesson
95 #define KV_LESS_DESC "desc" // lesson descriptor
96 #define KV_LESS_QUERY "query" // lesson contained in query
97 #define KV_LESS_NO "no" // lesson descriptor number
98 
99 /*
100  <tense>
101  <desc no="1">user tense #1</desc>
102  <desc no="2">user tense #2</desc>
103  </tense>
104 */
105 
106 #define KV_TENSE_GRP "tense" // tense descriptor group
107 #define KV_TENSE_DESC "desc" // tense descriptor
108 #define KV_TENSE_NO "no" // tense descriptor number
109 
110 /*
111  <options>
112  <sort on="1"/>
113  </options>
114 */
115 
116 #define KV_OPTION_GRP "options" // internal options group
117 #define KV_OPT_SORT "sort" // allow sorting
118 #define KV_BOOL_FLAG "on" // general boolean flag
119 
120 /*
121  <article>
122  <e l="de"> lang determines also lang order in entries !!
123  <fi>eine</fi> which must NOT differ
124  <fd>die</fd>
125  <mi>ein</mi>
126  <md>der</md>
127  <ni>ein</ni>
128  <nd>das</nd>
129  </e>
130  </article>
131 */
132 
133 #define KV_ARTICLE_GRP "article" // article descriptor group
134 static const QLatin1String KV_ART_ENTRY( "e" ); // article entry
135 #define KV_ART_FD "fd" // female definite
136 #define KV_ART_MD "md" // male definite
137 #define KV_ART_ND "nd" // natural definite
138 #define KV_ART_FI "fi" // female indefinite
139 #define KV_ART_MI "mi" // male indefinite
140 #define KV_ART_NI "ni" // natural indefinite
141 
142 /*
143  <comparison>
144  <l1>good</l1>
145  <l2>better</l2>
146  <l3>best</l3>
147  </comparison>
148 */
149 
150 #define KV_COMPARISON_GRP "comparison" // comparison descriptor group
151 #define KV_COMP_L1 "l1" // base form
152 #define KV_COMP_L2 "l2" // next form
153 #define KV_COMP_L3 "l3" // last form
154 
155 /*
156  <multiplechoice>
157  <mc1>good</mc1>
158  <mc2>better</mc2>
159  <mc3>best</mc3>
160  <mc4>best 2</mc4>
161  <mc5>best 3</mc5>
162  </multiplechoice>
163 */
164 
165 #define KV_MULTIPLECHOICE_GRP "multiplechoice" // multiple choice descriptor group
166 #define KV_MC_1 "mc1" // choice 1
167 #define KV_MC_2 "mc2" // choice 2
168 #define KV_MC_3 "mc3" // choice 3
169 #define KV_MC_4 "mc4" // choice 4
170 #define KV_MC_5 "mc5" // choice 5
171 
172 /*
173  <conjugation> used in header for definiton of "prefix"
174  <e l="de"> lang determines also lang order in entries !!
175  <s1>I</s1> which must NOT differ in subsequent <e>-tags
176  <s2>you<2>
177  <s3f>he</s3f>
178  <s3m>she</s3m>
179  <s3n>it</s3n>
180  <p1>we</p1>
181  <p2>you</p2>
182  <p3f>they</p3f>
183  <p3m>they</p3m>
184  <p3n>they</p3n>
185  </e>
186  </conjugation>
187 
188  <conjugation> and in entry for definition of tenses of (irreg.) verbs
189  <t n="sipa">
190  <s1>go</s1>
191  <s2>go</s2>
192  <s3f>goes</s3f>
193  <s3m>goes</s3m>
194  <s3n>goes</s3n>
195  <p1>go</p1>
196  <p2>go</p2>
197  <p3f>go</p3f>
198  <p3m>go</p3m>
199  <p3n>go</p3n>
200  </t>
201  </conjugation>
202 */
203 
204 #define KV_CONJUG_GRP "conjugation" // conjugation descriptor group
205 #define KV_CON_ENTRY "e" // conjugation entry (header)
206 #define KV_CON_TYPE "t" // conjugation type (voc entries)
207 #define KV_CON_NAME "n" // conjugation type name (voc entries)
208 #define KV_CON_P1S "s1" // 1. person singular
209 #define KV_CON_P2S "s2" // 2. person singular
210 #define KV_CON_P3SF "s3f" // 3. person singular female
211 #define KV_CON_P3SM "s3m" // 3. person singular male
212 #define KV_CON_P3SN "s3n" // 3. person singular natural
213 #define KV_CON_P1P "p1" // 1. person plural
214 #define KV_CON_P2P "p2" // 2. person plural
215 #define KV_CON_P3PF "p3f" // 3. person plural female
216 #define KV_CON_P3PM "p3m" // 3. person plural male
217 #define KV_CON_P3PN "p3n" // 3. person plural natural
218 #define KV_CONJ_COMMON "common" // female contains common for all three
219 
220 
221 #endif // KVTMLDEFS_H
KV_ORG
static const QLatin1String KV_ORG("o")
KV_TRANS
static const QLatin1String KV_TRANS("t")
KV_ART_ENTRY
static const QLatin1String KV_ART_ENTRY("e")
KV_DOCTYPE
static const QLatin1String KV_DOCTYPE("kvtml")
XML tags and attribute names.
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