Commit Graph

59 Commits

Author SHA1 Message Date
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
Giorgos Tsiapaliwkas
55ff7f3e0b Remove friend class foo; 2012-02-12 16:07:38 +02:00
Giorgos Tsiapaliwkas
2bc6afab73 Remove the internal methods of KCalendarSystem 2012-02-12 16:06:12 +02:00
Giorgos Tsiapaliwkas
82ce5394da fix the enums and typos 2012-02-12 16:00:18 +02:00
Giorgos Tsiapaliwkas
399bd464db remove unnecessary code 2012-02-12 15:51:55 +02:00
Giorgos Tsiapaliwkas
22cf25386a fix the includes 2012-02-10 22:31:00 +02:00
Giorgos Tsiapaliwkas
cca571f430 Add some TODO and fix the enums 2012-02-10 16:04:57 +02:00
Giorgos Tsiapaliwkas
825af7c0ca Add Q_DECLARE_OPERATORS_FOR_FLAGS 2012-02-09 19:27:48 +02:00
Giorgos Tsiapaliwkas
4bf016c646 Add KCalendar *m_calendar and replace the method's contents
with  "m_calendar->foo();"
2012-02-01 14:02:43 +02:00
Giorgos Tsiapaliwkas
5077d77f8f Fix includes and replace KLocale with Locale in calendarsystem.cpp 2012-02-01 12:24:48 +02:00
Giorgos Tsiapaliwkas
c65b553a11 Replace KLocale with Locale in calendarsystem.h 2012-02-01 12:09:15 +02:00
Giorgos Tsiapaliwkas
0dfe679164 Replace KLocale with Locale in locale.h 2012-02-01 12:08:11 +02:00
Giorgos Tsiapaliwkas
6701ee68c9 Replace KCalendarSystem with CalenderSystem in the calendarsystem.cpp 2012-02-01 11:47:40 +02:00
Giorgos Tsiapaliwkas
2c77d052a3 I renamed the class into CalendarSystem and now the class derives from QObject
also I added the Q_ENUMS
2012-02-01 11:46:04 +02:00
Giorgos Tsiapaliwkas
7269926c13 Add CalendarSystem to the qmlRegisterType<>() 2012-02-01 11:44:48 +02:00
Giorgos Tsiapaliwkas
31cc381819 Add calendar.cpp to the CMakeLists.txt 2012-02-01 11:44:11 +02:00
Giorgos Tsiapaliwkas
78beca5dac 1.Remove @since foo
2.add Q_INVOKABLE void foo();
2012-02-01 11:27:56 +02:00
Giorgos Tsiapaliwkas
d25d372302 A simple copy of KCalendarSystem. I have just removed the deprecated
methods.
2012-01-31 13:28:12 +02:00
Giorgos Tsiapaliwkas
e9db43b00a fix QList<Locale::DigitSet> and remove an unnecessary emit. 2012-01-31 13:09:22 +02:00