[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:06:47
Message-ID: CAODYyLYFRtc4z=fW7vCfzhpUG6C=d1rnrNdGH3LTevDQQkqEmw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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::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

-- 
Giorgos Tsiapaliwkas (terietor)
KDE Developer

terietor.gr

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_quote"><div>I need some help with the \
wrapper.</div><div><br></div><div>1.So, KLocale::setCountry (const QString \
&amp;country, KConfig *config) and KLocale::setLanguage (const QString &amp;language, \
KConfig *config)</div> <div>need a pointer to KConfig. In our case we need the \
plasmoid&#39;s configuration file. How can I access \
that?</div></div><div><br></div>2.I think KLocale::setLanguage<span \
class="Apple-style-span" style="border-collapse:separate;font-family:&#39;Lucida \
Grande&#39;,Verdana,Geneva,Arial,sans-serif;font-size:12px;background-color:rgb(249,250,252)">(const \
QStringList &amp;languages) that will not work in QML. Correct? Is there any way to \
fix it or</span><div> <font face="&#39;Lucida Grande&#39;, Verdana, Geneva, Arial, \
sans-serif"><span style="font-size:12px">I should just remove \
it?</span></font></div><div><font face="&#39;Lucida Grande&#39;, Verdana, Geneva, \
Arial, sans-serif"><span style="font-size:12px"><br> </span></font></div><div><font \
face="&#39;Lucida Grande&#39;, Verdana, Geneva, Arial, sans-serif"><span \
style="font-size:12px">3.stuff like this one KLocale::codecForEncoding() will not \
work in QML.correct?</span></font></div> <div><font face="&#39;Lucida Grande&#39;, \
Verdana, Geneva, Arial, sans-serif"><span \
style="font-size:12px"><br></span></font></div><div><font face="&#39;Lucida \
Grande&#39;, Verdana, Geneva, Arial, sans-serif"><span style="font-size:12px">thanks \
in advance</span></font></div> <div><font face="&#39;Lucida Grande&#39;, Verdana, \
Geneva, Arial, sans-serif"><span \
style="font-size:12px"><br></span></font></div><div>-- <br>Giorgos Tsiapaliwkas \
(terietor)<br>KDE Developer<br><br><a href="http://terietor.gr" \
target="_blank">terietor.gr</a><br>

</div></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