[PyKDE] PyQt C API

2005-10-18 Thread elho
When I understand your question right, this example will be the answer. PyObject*myPyType; // convert a PyObject pointer to MyPythonType-Pointer object // cppType will be the known CPP-Type which is the base of MyPythonType myPyType = sipBuildResult(NULL,"M",cppType,sipClass_MyPythonType)

[PyKDE] could not pass std::list<

2005-10-17 Thread elho
I got problems by passing an std::list by Value (and even if it was passed by Reference) to a c++-method. When I'm returning the list directly it works. (See the code below). What is going on there? See the source below - the first is how to execute it: _

[PyKDE] SIP: example of documentation does not work ?

2005-10-12 Thread elho
*zgh!rg!* That's it - I just detected it by myself. thx! ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

[PyKDE] SIP: example of documentation does not work ?

2005-10-12 Thread elho
There seams be something wrong with the copies of the example files from http://www.river-bank.demon.co.uk/docs/sip/sipref.html#a-simple-c-example Is there a place to download the small file of this example to make sure nothing of mine are wrong? This is whar I did - I run: sip -c . word

Re: [PyKDE] SIP: example of documentation does not work ?

2005-10-12 Thread elho
On Tuesday 11 October 2005 1:26 pm, elho wrote: There seams be something wrong with the copies of the example files from http://www.river-bank.demon.co.uk/docs/sip/sipref.html#a-simple-c-example Is there a place to download the small file of this example to make sure nothing of mine are wrong

[PyKDE] SIP: example of documentation does not work ?

2005-10-11 Thread elho
Phil Thompson wrote: On Tuesday 11 October 2005 1:26 pm, elho wrote: There seams be something wrong with the copies of the example files from http://www.river-bank.demon.co.uk/docs/sip/sipref.html#a-simple-c-example Is there a place to download the small file of this example to make sure

[PyKDE] SIP: example of documentation does not work

2005-10-11 Thread elho
There seams be something wrong with the copies of the example files from http://www.river-bank.demon.co.uk/docs/sip/sipref.html#a-simple-c-example Is there a place to download the small file of this example to make sure nothing of mine are wrong? This is whar I did - I run: sip -c . word.sip