[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    Re: [Kde-bindings] Qyoto: SIGNALS/SLOTS
From:       Arno Rehn <kde-bindings () arnorehn ! de>
Date:       2005-12-16 22:49:28
Message-ID: 200512162349.29000.kde-bindings () arnorehn ! de
[Download RAW message or body]

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
>ic/
>
> 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@arnorehn.de
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic