[Qt-interest] multiple inheritance problem

Thiago Macieira thiago.macieira at trolltech.com
Thu Jul 2 15:53:47 CEST 2009


Em Quinta-feira 02 Julho 2009, às 15:50:02, Donal O'Connor escreveu:
> I think you can use the virtual keyword to resolve this problem but
> multiple inheritence should be avoided if possible.

In this case, it also *has* to be avoided because both QWidget and QThread 
inherit QObject.

Alexander, you'll have to rework your code.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
     Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090702/e8b1067d/attachment.bin 


More information about the Qt-interest-old mailing list