Re: [PyQt] Changing the wrapped object

2012-05-04 Thread Phil Thompson
On Fri, 4 May 2012 15:25:10 +0200, Jens Thoms Toerring wrote: > On Fri, May 04, 2012 at 01:42:11PM +0100, Phil Thompson wrote: >> On Fri, 4 May 2012 14:33:10 +0200, Jens Thoms Toerring >> wrote: >> >I have a C++ class SIP-wrapped with the '/Abstract/' >> > annotation, Thus Pyton just has a po

Re: [PyQt] Changing the wrapped object

2012-05-04 Thread Jens Thoms Toerring
On Fri, May 04, 2012 at 01:42:11PM +0100, Phil Thompson wrote: > On Fri, 4 May 2012 14:33:10 +0200, Jens Thoms Toerring > wrote: > >I have a C++ class SIP-wrapped with the '/Abstract/' > > annotation, Thus Pyton just has a pointer to instances of > > this class (and ownership is with C++). Now

Re: [PyQt] Changing the wrapped object

2012-05-04 Thread Phil Thompson
On Fri, 4 May 2012 14:33:10 +0200, Jens Thoms Toerring wrote: > Hi, > >I have a C++ class SIP-wrapped with the '/Abstract/' > annotation, Thus Pyton just has a pointer to instances of > this class (and ownership is with C++). Now, at a certaind > point I would like to make the Python wrapper

[PyQt] Changing the wrapped object

2012-05-04 Thread Jens Thoms Toerring
Hi, I have a C++ class SIP-wrapped with the '/Abstract/' annotation, Thus Pyton just has a pointer to instances of this class (and ownership is with C++). Now, at a certaind point I would like to make the Python wrapper object point to a different instance (of the same class). Finding the add-