[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: KLocale QML bindings
From: Giorgos Tsiapaliwkas <terietor () gmail ! com>
Date: 2012-02-14 17:29:32
Message-ID: CAODYyLa2An-jTTqjJAcvxv0BZ4KWim3FaY+D=fZvv3D4i43Cbw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On 14 February 2012 19:10, Marco Martin <notmart@gmail.com> 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 KLocale::setLanguage(const QStringList &languages) that will
> not
> > work in QML. Correct? Is there any way to fix it or
> > I should just remove it?
> >
> > 3.stuff like this one KLocale::codecForEncoding() will not work in
> > QML.correct?
> >
> > thanks in advance
>
> yes, just remove all this stuff for now
>
> Cheers,
> Marco Martin
>
thank you for your help
--
Giorgos Tsiapaliwkas (terietor)
KDE Developer
terietor.gr
[Attachment #5 (text/html)]
<div dir="ltr"><br><br><div class="gmail_quote">On 14 February 2012 19:10, Marco \
Martin <span dir="ltr"><<a \
href="mailto:notmart@gmail.com">notmart@gmail.com</a>></span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"> <div class="im">i don't think we really want to be \
able to write into klocale from qml.</div> in the end will be mostly for formatting \
strings and dates. is something<br> different than the default behavior will be \
needed, just do it from c++ side<br> ;)<br>
<div class="im"><br>
> 2.I think KLocale::setLanguage(const QStringList &languages) that will \
not<br> > work in QML. Correct? Is there any way to fix it or<br>
> I should just remove it?<br>
><br>
> 3.stuff like this one KLocale::codecForEncoding() will not work in<br>
> QML.correct?<br>
><br>
> thanks in advance<br>
<br>
</div>yes, just remove all this stuff for now<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers,<br>
Marco Martin<br></div></div></blockquote><div> </div></div><br>thank you for your \
help<br clear="all"><div><br></div>-- <br>Giorgos Tsiapaliwkas (terietor)<br>KDE \
Developer<br><br><a href="http://terietor.gr" target="_blank">terietor.gr</a><br>
</div>
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic