On Thu, May 7, 2009 at 4:56 PM, Aaron J. Seigo <ase...@kde.org> wrote: > On Thursday 07 May 2009, Richard Dale wrote: >> Can you create Plasma widgets though? > > yes, several of the examples in scriptengines/javascript/tests/ do just that. Ah yes, sorry I've found the code now in uiloader.cpp - I had thought that was to do with loading ui files, and not instantiating Plasma widgets.
BTW: In Qt 4.5 (and Qt 4.5.1 onwards with namespaced classes like Plasma:: ones), you can add 'Q_INVOKABLE' to constructors, which might simplify QScript bindings as you only need to register the class and you get a pretty much complete binding. _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel