<div class="gmail_quote">On Sat, Jul 17, 2010 at 2:12 PM, Gilles Caulier <span dir="ltr"><<a href="mailto:caulier.gilles@gmail.com">caulier.gilles@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Why not to let's that as well for the moment, and look if we need to<br>
reduce Qt API visibility later.<br>
<br>
How Amarok team do about this subject<br></blockquote><div><br></div><div>The amarok team has an Importer class which has a function called "include" which takes the API to be included</div><div>as a QString argument. The function then calls QScriptEngine object -> importExtension (QString variable).</div>
<div><br></div><div>I feel that , as of now let us leave it as it is. I will focus on getting the script manager.</div><div>Also exposing the whole Qt API by default is user friendly as the script author doesn't need to know</div>
<div>which qt modules to import.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Gilles Caulier<br>
<br>
2010/7/16 kunal ghosh <<a href="mailto:kunal.t2@gmail.com">kunal.t2@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Hi all,<br>
> Need your opinion for the scripting interface.<br>
> I am exposing the whole Qt API (generated by qtscriptbinding generator) by<br>
> default.So, when ever a script author enters<br>
> var a = QLabel("hello")<br>
> they would be able to access it without importing any modules like<br>
> Importer.imporExtension("qt.qui") etc.<br>
> This makes it very easy for a plugin author to directly use the whole Qt API<br>
> without having to import modules individually.<br>
> I would need suggestions / comments on the approach taken above.<br>
> --<br>
> regards<br>
> -------<br>
> Kunal Ghosh<br>
> Dept of Computer Sc. & Engineering.<br>
> Sir MVIT<br>
> Bangalore,India<br>
><br>
> Blog:<a href="http://kunalghosh.wordpress.com" target="_blank">kunalghosh.wordpress.com</a><br>
> Website:<a href="http://www.kunalghosh.net46.net" target="_blank">www.kunalghosh.net46.net</a><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Digikam-devel mailing list<br>
> <a href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/digikam-devel" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
><br>
><br>
_______________________________________________<br>
Digikam-devel mailing list<br>
<a href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>regards<br>-------<br>Kunal Ghosh<br>Dept of Computer Sc. & Engineering.<br>Sir MVIT<br>Bangalore,India<br><br>Blog:<a href="http://kunalghosh.wordpress.com">kunalghosh.wordpress.com</a><br>
Website:<a href="http://www.kunalghosh.net46.net">www.kunalghosh.net46.net</a><br><br><br>