Commit Graph

1400 Commits

Author SHA1 Message Date
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
Giorgos Tsiapaliwkas
4829d45f95 1.Fix then enums
2.Place the emit foo() first and then the return foo;
2012-01-24 21:02:33 +02:00
Giorgos Tsiapaliwkas
7b25bb5b34 Remove unnecessary signals and replace KLocale with Locale. 2012-01-24 21:01:46 +02:00
Giorgos Tsiapaliwkas
7f5c24018c remove unnecessary linking from the cmake 2012-01-23 21:45:04 +02:00
Giorgos Tsiapaliwkas
7a5880c6a5 add the locale folder in the cmake 2012-01-23 21:44:28 +02:00
Giorgos Tsiapaliwkas
a7098018c5 Add again Q_DECLARE_FLAGS and fix some typos 2012-01-23 21:43:42 +02:00
Giorgos Tsiapaliwkas
9581c33be2 fix some typos 2012-01-23 21:16:14 +02:00
Giorgos Tsiapaliwkas
64a70e4ae5 Merge branch 'master' into plasma/terietorANDkokeroulis/KLocaleQMLBindings 2012-01-22 10:50:12 +02:00
Giorgos Tsiapaliwkas
311ab5b82b Add a ctor 2012-01-19 22:16:14 +02:00
Giorgos Tsiapaliwkas
f4fc499a41 fix some typos 2012-01-19 22:12:26 +02:00
Marco Martin
6d4ad45c84 ensure the text field has focus 2012-01-18 16:49:12 +01:00
Marco Martin
7a656708fe simplify the slidingpopups call 2012-01-18 14:23:08 +01:00
Marco Martin
4dca0e4d12 dismiss dialog close if we are over the dialog at button release 2012-01-18 14:10:14 +01:00