[Kde-bindings] Qyoto: SIGNALS/SLOTS

Arno Rehn kde-bindings at arnorehn.de
Fri Dec 16 22:49:28 UTC 2005

Am Mittwoch, 14. Dezember 2005 20:22 schrieb Adam Treat:
> On Wednesday December 14 2005 1:43 pm, you wrote:
> > Hi,
> >
> > I found the following in you code:
> > IntPtr s = (this.Instance as QtSharp).RawObject;
> >
> > does 'RawObject' point to the underlying C++ instance?
> > If it does, a second question: How do I get the pointer to the
> > C++-instance? It tried it with 'GCHandle.Alloc' but that doesn't seem to
> > work.
> Yes, it does.  You can find the code for RawObject and the handling of C++
> pointer interaction in the attached file.
> Here is the location for all the behind-the-scenes mechanisms for the
> unreleased version of Qt#.  This is the latest code that I worked on and it
> did work up to the point you are looking to get, but I think you are on the
> right track with the smoke bindings.
> http://cvs.sourceforge.net/viewcvs.py/qtcsharp/qtsharp/src/newbindings/stat
> As soon as you get beyond this... ie, get virtuals working and the example
> applications, i'll point everything towards Qyoto as the way forward.

Oh, and a second question: what exactly can I do with the keyword "as" ? I 
didn't find anything about it on the net and this is the first time I ever 
heard about it ?!

Arno Rehn
arno at arnorehn.de

More information about the Kde-bindings mailing list