[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">&lt;<a \
href="mailto:notmart@gmail.com">notmart@gmail.com</a>&gt;</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&#39;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>
&gt; 2.I think KLocale::setLanguage(const QStringList &amp;languages) that will \
not<br> &gt; work in QML. Correct? Is there any way to fix it or<br>
&gt; I should just remove it?<br>
&gt;<br>
&gt; 3.stuff like this one KLocale::codecForEncoding() will not work in<br>
&gt; QML.correct?<br>
&gt;<br>
&gt; 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