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

List:       pykde
Subject:    Re: [PyKDE] ListBoxItems are invisible
From:       John Ridley <ojokimu () yahoo ! co ! uk>
Date:       2005-04-03 11:47:01
Message-ID: 20050403114701.92174.qmail () web26807 ! mail ! ukl ! yahoo ! com
[Download RAW message or body]


--- Phil Thompson <phil@riverbankcomputing.co.uk> wrote:
> You're getting confused between instantiating an abstract class (now
> fixed) 
> and deriving from an abstract class (still works). The problem was
> that, 
> originally, I couldn't think of a way of distinguishing between these
> two cases and so allowed both.

Okay, thanks for explaining that.

Just to get things clear though - this one fix will prevent *all*
abstract base classes from being instantiated, yes? This looks pretty
tricky for something like QButton. Somehow, in the chain of inheritance
from QPushButton to QObject, sip has to decide which classes can be
instantiated, and which not. No wonder you had trouble thinking of a
way to do this :)


John Ridley

Send instant messages to your online friends http://uk.messenger.yahoo.com 

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

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