Re: KLocale QML bindings

2012-03-01 Thread Giorgos Tsiapaliwkas
Hello, the KLocale QML bindings are almost done. I just have to check some more stuff before I open a review. So I want to make some changes and I need your help, a. I want to remove the above methods from the Locale class since they can influnce the core functionality of a KLocale object. meth

Re: KLocale QML bindings

2012-02-14 Thread Giorgos Tsiapaliwkas
On 14 February 2012 19:10, Marco Martin wrote: > i don't think we really want to be able to write into klocale from qml. > in the end will be mostly for formatting strings and dates. is something > different than the default behavior will be needed, just do it from c++ > side > ;) > > > 2.I think

Re: KLocale QML bindings

2012-02-14 Thread Marco Martin
On Tuesday 14 February 2012, Giorgos Tsiapaliwkas wrote: > I need some help with the wrapper. > > 1.So, KLocale::setCountry (const QString &country, KConfig *config) and > KLocale::setLanguage (const QString &language, KConfig *config) > need a pointer to KConfig. In our case we need the plasmoid'

Re: KLocale QML bindings

2012-02-14 Thread Giorgos Tsiapaliwkas
I need some help with the wrapper. 1.So, KLocale::setCountry (const QString &country, KConfig *config) and KLocale::setLanguage (const QString &language, KConfig *config) need a pointer to KConfig. In our case we need the plasmoid's configuration file. How can I access that? 2.I think KLocale::se

Re: KLocale QML bindings

2012-01-18 Thread Marco Martin
On Saturday 14 January 2012, Giorgos Tsiapaliwkas wrote: > Hello, > > me and Antonis have created a branch with the name > "plasma/terietorANDkokeroulis/KLocaleQMLBindings" at kde-runtime. > The branch contains the a wrapper which will be our QML bindings for > KLocale. > > The bindings are not r