<div dir="ltr"><div><div>Hi Jasem,<br><br></div>ok, thank you. I already sent an e-mail to one of the KConfig maintainers.<br><br></div>Regards, Artem</div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-08 21:34 GMT+02:00 Jasem Mutlaq <span dir="ltr"><<a href="mailto:mutlaqja@ikarustech.com" target="_blank">mutlaqja@ikarustech.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Artem,<div><br></div><div>1. Out of my league here. Have you tried contacting KConfig maintainers?</div><div>2. Yes</div><div>3. Fine</div><div><br></div><div>Great progress, reading the blog post now!</div><div><br></div><div>Regards,</div><div>Jasem</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, May 8, 2016 at 3:06 PM, Artem Fedoskin <span dir="ltr"><<a href="mailto:afedoskin3@gmail.com" target="_blank">afedoskin3@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div>Dear developers of <span>KStars</span>,<br><br></div>While working on <span>KStarsLite</span> a bunch of questions arose,<br><br></div>1. I'm struggling to get Options working from <span>QML</span>. Even after I've made instance of type Options available to <span>QML</span> as a context property, I can't get access to all its functions because they are not marked with Q_INVOKABLE macro and are not slots. I found in this patch <a href="https://git" target="_blank">https://git</a>.<span>reviewboard</span>.<span>kde</span>.org/r/123367/ and source code of <span>kconfig</span> compiler that I should set <span>GenerateProperties</span>=true in Options.<span>kfgc</span> to create option properties as Q_PROPERTY. However, I got following error "Too many signals to create unique bit masks". There is some conflict between <span>Mutators</span> and <span>GenerateProperties</span> options that causes this error but I can't figure out what should I change to have setters in Q_PROPERTY. <br><br></div>2. Can I move <span>SkyMap</span>::Projection to Projector class? I don't want to include <span>skymaph</span>.h in <span>skymaplite</span>.h just to use Projection <span>enum</span> and this way there will be no need in adding another #<span>ifdef</span> construction to Projector class.<br><br></div><div>3. Just to inform you - I changed <span>KStarsData</span>::<span>progressText</span>( <span>const</span> <span>QString</span>& ) to <span>KStarsData</span>::<span>progressText</span>( <span>const</span> <span>QString</span>& text) because you can't handle unnamed parameters in <span>QML</span> slots.<br><br></div><div>Regards, <span>Artem</span><br></div></div>
<br></div></div>_______________________________________________<br>
Kstars-devel mailing list<br>
<a href="mailto:Kstars-devel@kde.org" target="_blank">Kstars-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kstars-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kstars-devel</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>Best Regards,<br>Jasem Mutlaq<br></div><div><br></div></div></div>
</font></span></div>
</blockquote></div><br></div>