[Qt-interest] Qt/C++ working with graphicsview (Ross Driedger)

Thiago Macieira thiago at kde.org
Sun Jan 24 22:32:22 CET 2010


Em Domingo 24. Janeiro 2010, às 21.17.52, Stephen Deetz escreveu:
> In a Delphi constructor, one would call inherited() (super in java)
> immediately to make certain the inheritance chain is executed.  In C++, the
> proper way is InheritedObject::InheritedObject, no?

Not in a constructor.

In a constructor, the parent classes' constructors are called in the 
initialisation list. That's why Ross told you to study the subject.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100124/0777c322/attachment.bin 


More information about the Qt-interest-old mailing list