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

List:       kde-devel
Subject:    QCanvasItem inheritance
From:       martin () heni-online ! de
Date:       2000-06-19 8:02:25
[Download RAW message or body]

Hi,
I have a small question concerning the kde-qt-addon class
QCanvasItem (in qcanvas.cpp/h).  I noticed that it inherits
class Qt but not Class QObject, which does not allow one
to use signal/slot handling. I suppose using multiple inheritance 
like
class myclass: public QCanvasItem, publicQObject 
this could be solved but I wonder why the class does not directly
inherit from QObject. 
Can anyone explain this to me? And would the above mentioned
method be correct to get the signal/slot thingy?

Martin
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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