PlanetKDE, point me in some direction, please!
I have been trying to figure out how to use libsmoke from kdebindings for a few hours.
So far, I have been unable to find any kind of documentation whatsoever.
If anyone knows of something (short of reading the ruby bindings, for instance ;-) I would be thrilled.
Addendum: I just found on google that there is a whole language with Qt bindings I had never heard of!
That makes it much clearer, thanks Richard!
Hi Roberto
Some attempts have been made to explain how the Smoke lib works on the kde-bindings list. So that's the best place for info. Search for old emails mentioning smoke on that list, and post questions about what you're trying to do there.
The first thing to do is to find out how to look up a method call id - you form a 'munged method name' from the types of the arguments. Then call FindMethod() with the classname and munged name.
Secondly you need to know how to marshall arguments from the scripting language to C++ ones on the 'Smoke::Stack'. In QtRuby there is a C++ class called 'MethodCall' where that happens, in conjuction with the marshalling methods in the 'handlers.cpp' source file. But it's quite hard to explain without reference to the code in an existing project.