Hi Sean,

In the docs here:

http://doc.trolltech.com/4.3/qtscript.html

There's a section called:

Making C++ Class Member Functions Available in Qt Script

I have to say, I don't entirely understand the prototype based
inheritance stuff that really allows you to define objects in
ECMAScript. So if anyone else has a better idea of how this stuff
works then that's be nice...

Adam

2008/12/17 Sean M. Pappalardo <[email protected]>:
> Hi again.
>
> My current problem is one of understanding. I can't quite follow all
> that's needed to expose functions to QtScripts. I'm almost there, as I
> have been able to expose objects, but apparently their functions don't
> automatically come with them.
>
> So can someone point me in a direction as to how to expose
> MidiObject.sendShortMsg() and MidiObject.sendSysexMsg() to a QtScript
> under MidiScriptEngine?
>
> Thanks for any help you can provide. Once this is done, scripting will
> effectively work.
>
> Sincerely,
> Sean M. Pappalardo
> "D.J. Pegasus"
>
> <<--------------------------------------------------------------------------------->>
> This E-Mail message has been scanned for viruses
> and cleared by >>SmartMail<< from Smarter Technology, Inc.
> <<--------------------------------------------------------------------------------->>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Mixxx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to