Re: [PyKDE] QObject.inherits and queryList (still broken in 4.2?)

2005-02-25 Thread Phil Thompson
Hello, a few days ago I posted a bugreport about the QObject.inherits() not working as expected with SIP/PyQT: http://www.mail-archive.com/pykde@mats.imk.fraunhofer.de/msg04211.html This seems fixed with SIP 4.2 and PyQT 3.14, but sadly queryList() still appears to be broken. from qt

[PyKDE] QObject.inherits and queryList (still broken in 4.2?)

2005-02-22 Thread Giovanni Bajo
Hello, a few days ago I posted a bugreport about the QObject.inherits() not working as expected with SIP/PyQT: http://www.mail-archive.com/pykde@mats.imk.fraunhofer.de/msg04211.html This seems fixed with SIP 4.2 and PyQT 3.14, but sadly queryList() still appears to be broken. from qt import *

Re: [PyKDE] QObject.inherits?

2005-02-15 Thread Giovanni Bajo
Torsten Marek [EMAIL PROTECTED] wrote: This came up some days ago, I think Phil fixed it in the snapshots. And he said that he'll release sip 4.2/PyQt 3.14 in a couple of days, so you'll need some patience - or build the snapshot yourself. OK, I'll build RC2 for now. Thanks -- Giovanni Bajo

Re: [PyKDE] QObject.inherits?

2005-02-14 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Giovanni Bajo schrieb: | Hello, | | I see this behaviour with PyQt: | | |from qt import * |a = QApplication([]) |class Foo(QObject): | | ... pass | ... | |f = Foo() |print f.className() | | Foo | |print f.isA(Foo) | | False | |print f.inherits(Foo)

[PyKDE] QObject.inherits() don't work as expected

2005-02-06 Thread Hans-Peter Jansen
Hi Phil, shouldn't attached script return True both times? Doc says: A class is considered to inherit itself. Cheers, Pete #! /usr/bin/env python # 2005-02-04initial versionhp import sys from qt import * class Test(QWidget): def __init__(self, *args):

Re: [PyKDE] QObject.inherits() don't work as expected

2005-02-06 Thread Phil Thompson
On Sunday 06 February 2005 7:16 pm, Hans-Peter Jansen wrote: Hi Phil, shouldn't attached script return True both times? Doc says: A class is considered to inherit itself. I'll take a look. BTW, the I haven't yet got around to looking at the other things you've raised - but I haven't

Re: [PyKDE] QObject.inherits() don't work as expected

2005-02-06 Thread Torsten Marek
Hans-Peter Jansen schrieb: Hi Phil, shouldn't attached script return True both times? Doc says: A class is considered to inherit itself. But isn't QObject::inherits based on the Qt metaobject techniques? Unless there was some hand-written code for this function, this code will not work (unless I