Commit Graph

599 Commits

Author SHA1 Message Date
Giorgos Tsiapaliwkas
5d8ab81119 Remove an unnecessary enum 2012-03-19 17:13:31 +02:00
Giorgos Tsiapaliwkas
6844da9ccb Fix CalendarSystem:getDate and CalendarSystem::dateDifference 2012-03-19 16:20:10 +02:00
Giorgos Tsiapaliwkas
9cbc32a078 fix the allDigitSetsList method and also make it a method 2012-03-19 13:32:21 +02:00
Giorgos Tsiapaliwkas
ee8eadcc80 Fix the negative values of the enums 2012-03-16 17:03:18 +02:00
Giorgos Tsiapaliwkas
48def0fb72 Fix a property in klocaleqmltest.qml 2012-03-13 17:34:16 +02:00
Giorgos Tsiapaliwkas
c67e95a4f3 Remove Locale::localizedFilePath 2012-03-13 17:33:26 +02:00
Giorgos Tsiapaliwkas
028df24350 Remove the methods insert/removeCatalog from the Locale class 2012-03-13 12:56:27 +02:00
Giorgos Tsiapaliwkas
b9efdcc1e4 Remove a comment and replace a tab with spaces 2012-03-09 13:37:20 +02:00
Giorgos Tsiapaliwkas
b3c089f51c Fix the comments and a typo. 2012-03-09 13:25:25 +02:00
Antonis Tsiapaliokas
4d40a7dd92 Rename KCalendarSystem to CalendarSystem on Api 2012-03-09 10:21:02 +02:00
Antonis Tsiapaliokas
46c6da3534 Add more unit tests 2012-03-08 14:43:23 +02:00
Giorgos Tsiapaliwkas
f2f9fc8fe7 Fix locale.readMoney, locale.readDate,readLocalTime 2012-03-03 17:03:49 +02:00
Giorgos Tsiapaliwkas
9b69f03f5c Make Locale::reparseConfiguration() a Q_INVOKABLE method 2012-03-01 21:59:43 +02:00
Giorgos Tsiapaliwkas
1118d9ac61 Fix the converDigits method 2012-03-01 21:59:07 +02:00
Giorgos Tsiapaliwkas
3025342e00 Fix the enums in klocaleqmltest 2012-03-01 15:20:43 +02:00
Giorgos Tsiapaliwkas
1e8340601b Populate the klocaleqmltest.qml 2012-03-01 12:33:58 +02:00
Giorgos Tsiapaliwkas
557e476c05 Make languageList, currencyCodeList, installedLanguages, allCountriesList
properties instead of Q_INVOKABLE
2012-03-01 12:32:01 +02:00
Giorgos Tsiapaliwkas
860d8ed68f Make fileEncodingMib a property instead of a Q_INVOKABLE 2012-03-01 11:06:21 +02:00
Giorgos Tsiapaliwkas
4319d7d0d8 Add test code for the QStringList methods of Locale. 2012-02-26 18:05:22 +02:00
Giorgos Tsiapaliwkas
b5bb3bb6e5 Remove unnecessary code 2012-02-26 18:02:17 +02:00
Giorgos Tsiapaliwkas
58bf5c9c8e Remove the methods translateRawFrom. In the documentation
we are being advised not to use them directly, the same applies
for QML.
2012-02-26 17:24:56 +02:00
Giorgos Tsiapaliwkas
0343a25c8f Fix typo.
typo == s/Locale/KLocale
2012-02-26 17:04:04 +02:00
Giorgos Tsiapaliwkas
ba409bf600 Remove the static keyword from defaultLanguage, defaultCountry,
defaultCurrencyCode
2012-02-26 16:59:59 +02:00
Giorgos Tsiapaliwkas
36e69304fb Remove the encoding* stuff 2012-02-26 16:51:54 +02:00
Giorgos Tsiapaliwkas
2a94eda81a It is calendar.$foo not locale.$foo 2012-02-22 17:57:31 +02:00
Giorgos Tsiapaliwkas
86a60e2e2e fix typos 2012-02-22 14:55:21 +02:00
Giorgos Tsiapaliwkas
cba38afc41 Add "read-only" comments to CalendarSystem's properties 2012-02-22 14:44:10 +02:00
Giorgos Tsiapaliwkas
86e5fa1bd0 Add tests for the CalendarSystem components.
Properties: isProleptic, CalendarLabel, epoch, earliestValidDate,
latestValidDate, shortYearWindowStartYear, weekStartDay, isLunar,
isLunisolar, isSolar, isProleptic
2012-02-22 14:41:11 +02:00
Giorgos Tsiapaliwkas
39e23de934 Add more "read-only" comments to properties 2012-02-22 14:22:37 +02:00
Giorgos Tsiapaliwkas
e34130edd0 Add tests for the Locale component
Properties: monetaryThousandsSeparator, negativeMonetarySignPosition,
negativePrefixCurrencySymbol, negativeSign, pageSize,
negativeMonetarySignPosition, positiveMonetarySignPosition,
positivePrefixCurrencySymbol, positiveSign, thousandsSeparator,
weekDayOfPray, weekNumberSystem, weekStartDay, workingWeekEndDay,
workingWeekStartDay, use12Clock, defaultLanguage, defaultCountry,
defaultCurrencyCode, useTranscript, encodingMib
2012-02-22 14:17:55 +02:00
Giorgos Tsiapaliwkas
8b66577675 Add tests for the Locale component
Properties: decimalSymbol, digitSet, encoding, language, measureSystem,
monetaryDecimalPlaces, monetaryDecimalSymbol, monetaryDigitSet
2012-02-22 13:24:41 +02:00
Giorgos Tsiapaliwkas
35f9f7b299 Add "read-only" comments to read-only properties 2012-02-22 13:23:30 +02:00
Giorgos Tsiapaliwkas
a02ae1eb52 Add unitest code for dateTimeDigitSet and decimalPlaces 2012-02-21 20:34:29 +02:00
Giorgos Tsiapaliwkas
37dd4360d2 Populate the test of locale bindings 2012-02-21 20:23:04 +02:00
Giorgos Tsiapaliwkas
a820916926 Give a proper name to the plasmoid(org.kde.$foo) and
add change its ui.
2012-02-21 13:01:31 +02:00
Giorgos Tsiapaliwkas
7980cd0496 Add a tests folder 2012-02-16 14:04:09 +02:00
Giorgos Tsiapaliwkas
06deb00c62 Make the Q_INVOKABLE something foo() into properties,
for the CalendarSystem class
2012-02-16 14:02:06 +02:00
Giorgos Tsiapaliwkas
94ca0b3a5d Remove the definition of Locale::copyCatalogsTo.
I forgot to remove it in the previous commit
2012-02-16 14:01:14 +02:00
Giorgos Tsiapaliwkas
a58d172b2c make Q_INVOKABLE something foo() into properties 2012-02-16 13:36:42 +02:00
Giorgos Tsiapaliwkas
4018e79ca2 Remove unnecessary comments 2012-02-16 13:13:04 +02:00
Giorgos Tsiapaliwkas
7a94509646 Make the encoding stuff QVariant, in order to be able
to use them as properties.
2012-02-16 13:07:03 +02:00
Giorgos Tsiapaliwkas
da194d9246 Make the properties country and language read-only 2012-02-16 12:23:12 +02:00
Giorgos Tsiapaliwkas
403835a82b Fix the pure virtual methods and the ctor. 2012-02-16 12:22:44 +02:00
Antonis Tsiapaliokas
1386b6aece Remove unusable code for qml 2012-02-15 10:24:07 +02:00
Giorgos Tsiapaliwkas
6b784a98e8 Fix a typo,remove a deprecated method add comment the Locale::calendar 2012-02-14 12:52:08 +02:00
Giorgos Tsiapaliwkas
7877980f2e Add CalendarSystem's ctor 2012-02-14 12:29:21 +02:00
Antonis Tsiapaliokas
461ad73f58 Add localebindingsplugin.cpp to CMakeLists.txt 2012-02-14 04:08:46 +02:00
Antonis Tsiapaliokas
69e028bfbd Add a missing signal into locale.h 2012-02-14 03:05:30 +02:00
Antonis Tsiapaliokas
de895b36c1 Populate localebindings/CMakeLists.txt 2012-02-14 03:03:51 +02:00
Giorgos Tsiapaliwkas
fbb91918de Remove the era* internal methods 2012-02-12 16:14:18 +02:00