KUnitConversion
Go to the documentation of this file.
24 using namespace KUnitConversion;
32 i18nc(
"time unit symbol",
"Ys"),
33 i18nc(
"unit description in lists",
"yottaseconds"),
34 i18nc(
"unit synonyms for matching user input",
"yottasecond;yottaseconds;Ys"),
35 ki18nc(
"amount in units (real)",
"%1 yottaseconds"),
36 ki18ncp(
"amount in units (integer)",
"%1 yottasecond",
"%1 yottaseconds")
39 i18nc(
"time unit symbol",
"Zs"),
40 i18nc(
"unit description in lists",
"zettaseconds"),
41 i18nc(
"unit synonyms for matching user input",
"zettasecond;zettaseconds;Zs"),
42 ki18nc(
"amount in units (real)",
"%1 zettaseconds"),
43 ki18ncp(
"amount in units (integer)",
"%1 zettasecond",
"%1 zettaseconds")
46 i18nc(
"time unit symbol",
"Es"),
47 i18nc(
"unit description in lists",
"exaseconds"),
48 i18nc(
"unit synonyms for matching user input",
"exasecond;exaseconds;Es"),
49 ki18nc(
"amount in units (real)",
"%1 exaseconds"),
50 ki18ncp(
"amount in units (integer)",
"%1 exasecond",
"%1 exaseconds")
53 i18nc(
"time unit symbol",
"Ps"),
54 i18nc(
"unit description in lists",
"petaseconds"),
55 i18nc(
"unit synonyms for matching user input",
"petasecond;petaseconds;Ps"),
56 ki18nc(
"amount in units (real)",
"%1 petaseconds"),
57 ki18ncp(
"amount in units (integer)",
"%1 petasecond",
"%1 petaseconds")
60 i18nc(
"time unit symbol",
"Ts"),
61 i18nc(
"unit description in lists",
"teraseconds"),
62 i18nc(
"unit synonyms for matching user input",
"terasecond;teraseconds;Ts"),
63 ki18nc(
"amount in units (real)",
"%1 teraseconds"),
64 ki18ncp(
"amount in units (integer)",
"%1 terasecond",
"%1 teraseconds")
67 i18nc(
"time unit symbol",
"Gs"),
68 i18nc(
"unit description in lists",
"gigaseconds"),
69 i18nc(
"unit synonyms for matching user input",
"gigasecond;gigaseconds;Gs"),
70 ki18nc(
"amount in units (real)",
"%1 gigaseconds"),
71 ki18ncp(
"amount in units (integer)",
"%1 gigasecond",
"%1 gigaseconds")
74 i18nc(
"time unit symbol",
"Ms"),
75 i18nc(
"unit description in lists",
"megaseconds"),
76 i18nc(
"unit synonyms for matching user input",
"megasecond;megaseconds;Ms"),
77 ki18nc(
"amount in units (real)",
"%1 megaseconds"),
78 ki18ncp(
"amount in units (integer)",
"%1 megasecond",
"%1 megaseconds")
81 i18nc(
"time unit symbol",
"ks"),
82 i18nc(
"unit description in lists",
"kiloseconds"),
83 i18nc(
"unit synonyms for matching user input",
"kilosecond;kiloseconds;ks"),
84 ki18nc(
"amount in units (real)",
"%1 kiloseconds"),
85 ki18ncp(
"amount in units (integer)",
"%1 kilosecond",
"%1 kiloseconds")
88 i18nc(
"time unit symbol",
"hs"),
89 i18nc(
"unit description in lists",
"hectoseconds"),
90 i18nc(
"unit synonyms for matching user input",
"hectosecond;hectoseconds;hs"),
91 ki18nc(
"amount in units (real)",
"%1 hectoseconds"),
92 ki18ncp(
"amount in units (integer)",
"%1 hectosecond",
"%1 hectoseconds")
95 i18nc(
"time unit symbol",
"das"),
96 i18nc(
"unit description in lists",
"decaseconds"),
97 i18nc(
"unit synonyms for matching user input",
"decasecond;decaseconds;das"),
98 ki18nc(
"amount in units (real)",
"%1 decaseconds"),
99 ki18ncp(
"amount in units (integer)",
"%1 decasecond",
"%1 decaseconds")
102 i18nc(
"time unit symbol",
"s"),
103 i18nc(
"unit description in lists",
"seconds"),
104 i18nc(
"unit synonyms for matching user input",
"second;seconds;s"),
105 ki18nc(
"amount in units (real)",
"%1 seconds"),
106 ki18ncp(
"amount in units (integer)",
"%1 second",
"%1 seconds")
109 i18nc(
"time unit symbol",
"ds"),
110 i18nc(
"unit description in lists",
"deciseconds"),
111 i18nc(
"unit synonyms for matching user input",
"decisecond;deciseconds;ds"),
112 ki18nc(
"amount in units (real)",
"%1 deciseconds"),
113 ki18ncp(
"amount in units (integer)",
"%1 decisecond",
"%1 deciseconds")
116 i18nc(
"time unit symbol",
"cs"),
117 i18nc(
"unit description in lists",
"centiseconds"),
118 i18nc(
"unit synonyms for matching user input",
"centisecond;centiseconds;cs"),
119 ki18nc(
"amount in units (real)",
"%1 centiseconds"),
120 ki18ncp(
"amount in units (integer)",
"%1 centisecond",
"%1 centiseconds")
123 i18nc(
"time unit symbol",
"ms"),
124 i18nc(
"unit description in lists",
"milliseconds"),
125 i18nc(
"unit synonyms for matching user input",
"millisecond;milliseconds;ms"),
126 ki18nc(
"amount in units (real)",
"%1 milliseconds"),
127 ki18ncp(
"amount in units (integer)",
"%1 millisecond",
"%1 milliseconds")
130 i18nc(
"time unit symbol",
"µs"),
131 i18nc(
"unit description in lists",
"microseconds"),
132 i18nc(
"unit synonyms for matching user input",
"microsecond;microseconds;µs;us"),
133 ki18nc(
"amount in units (real)",
"%1 microseconds"),
134 ki18ncp(
"amount in units (integer)",
"%1 microsecond",
"%1 microseconds")
137 i18nc(
"time unit symbol",
"ns"),
138 i18nc(
"unit description in lists",
"nanoseconds"),
139 i18nc(
"unit synonyms for matching user input",
"nanosecond;nanoseconds;ns"),
140 ki18nc(
"amount in units (real)",
"%1 nanoseconds"),
141 ki18ncp(
"amount in units (integer)",
"%1 nanosecond",
"%1 nanoseconds")
144 i18nc(
"time unit symbol",
"ps"),
145 i18nc(
"unit description in lists",
"picoseconds"),
146 i18nc(
"unit synonyms for matching user input",
"picosecond;picoseconds;ps"),
147 ki18nc(
"amount in units (real)",
"%1 picoseconds"),
148 ki18ncp(
"amount in units (integer)",
"%1 picosecond",
"%1 picoseconds")
151 i18nc(
"time unit symbol",
"fs"),
152 i18nc(
"unit description in lists",
"femtoseconds"),
153 i18nc(
"unit synonyms for matching user input",
"femtosecond;femtoseconds;fs"),
154 ki18nc(
"amount in units (real)",
"%1 femtoseconds"),
155 ki18ncp(
"amount in units (integer)",
"%1 femtosecond",
"%1 femtoseconds")
158 i18nc(
"time unit symbol",
"as"),
159 i18nc(
"unit description in lists",
"attoseconds"),
160 i18nc(
"unit synonyms for matching user input",
"attosecond;attoseconds;as"),
161 ki18nc(
"amount in units (real)",
"%1 attoseconds"),
162 ki18ncp(
"amount in units (integer)",
"%1 attosecond",
"%1 attoseconds")
165 i18nc(
"time unit symbol",
"zs"),
166 i18nc(
"unit description in lists",
"zeptoseconds"),
167 i18nc(
"unit synonyms for matching user input",
"zeptosecond;zeptoseconds;zs"),
168 ki18nc(
"amount in units (real)",
"%1 zeptoseconds"),
169 ki18ncp(
"amount in units (integer)",
"%1 zeptosecond",
"%1 zeptoseconds")
172 i18nc(
"time unit symbol",
"ys"),
173 i18nc(
"unit description in lists",
"yoctoseconds"),
174 i18nc(
"unit synonyms for matching user input",
"yoctosecond;yoctoseconds;ys"),
175 ki18nc(
"amount in units (real)",
"%1 yoctoseconds"),
176 ki18ncp(
"amount in units (integer)",
"%1 yoctosecond",
"%1 yoctoseconds")
179 i18nc(
"time unit symbol",
"min"),
180 i18nc(
"unit description in lists",
"minutes"),
181 i18nc(
"unit synonyms for matching user input",
"minute;minutes;min"),
182 ki18nc(
"amount in units (real)",
"%1 minutes"),
183 ki18ncp(
"amount in units (integer)",
"%1 minute",
"%1 minutes")
186 i18nc(
"time unit symbol",
"h"),
187 i18nc(
"unit description in lists",
"hours"),
188 i18nc(
"unit synonyms for matching user input",
"hour;hours;h"),
189 ki18nc(
"amount in units (real)",
"%1 hours"),
190 ki18ncp(
"amount in units (integer)",
"%1 hour",
"%1 hours")
193 i18nc(
"time unit symbol",
"d"),
194 i18nc(
"unit description in lists",
"days"),
195 i18nc(
"unit synonyms for matching user input",
"day;days;d"),
196 ki18nc(
"amount in units (real)",
"%1 days"),
197 ki18ncp(
"amount in units (integer)",
"%1 day",
"%1 days")
200 i18nc(
"time unit symbol",
"w"),
201 i18nc(
"unit description in lists",
"weeks"),
202 i18nc(
"unit synonyms for matching user input",
"week;weeks"),
203 ki18nc(
"amount in units (real)",
"%1 weeks"),
204 ki18ncp(
"amount in units (integer)",
"%1 week",
"%1 weeks")
207 i18nc(
"time unit symbol",
"a"),
208 i18nc(
"unit description in lists",
"Julian years"),
209 i18nc(
"unit synonyms for matching user input",
"Julian year;Julian years;a"),
210 ki18nc(
"amount in units (real)",
"%1 Julian years"),
211 ki18ncp(
"amount in units (integer)",
"%1 Julian year",
"%1 Julian years")
214 i18nc(
"time unit symbol",
"lpy"),
215 i18nc(
"unit description in lists",
"leap years"),
216 i18nc(
"unit synonyms for matching user input",
"leap year;leap years"),
217 ki18nc(
"amount in units (real)",
"%1 leap years"),
218 ki18ncp(
"amount in units (integer)",
"%1 leap year",
"%1 leap years")
222 i18nc(
"time unit symbol",
"y"),
223 i18nc(
"unit description in lists",
"year"),
224 i18nc(
"unit synonyms for matching user input",
"year;years;y"),
225 ki18nc(
"amount in units (real)",
"%1 year"),
226 ki18ncp(
"amount in units (integer)",
"%1 year",
"%1 years")
void setMostCommonUnits(const QList< int > &units)
void setName(const QString &name)
#define UP(id, m, s, d, sy, r, i)
void setDefaultUnit(UnitPtr defaultUnit)
void setSymbolStringFormat(const KLocalizedString &symbolStringFormat)
#define U(id, m, s, d, sy, r, i)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:00 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.