[Qt-interest] QTreeWidgetItem

Kurtis Nusbaum klnusbaum at gmail.com
Thu Jan 22 18:08:00 CET 2009


I would like to add signal/slot functionality to a subclass I made of
QTreeWidgetItem. I quickly realized that QTreeWidgetItem is no a subclass of
QObject. I realized that my subclass could just inherit both, but that
leaves a nagging question. Why is QTreeWidgetItem not a QObject in the first
place? Would I be doing something that isn't exactly a good idea by creating
a subclass with both QObject and QTreeWidgetItem as parents?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090122/2a5ede37/attachment.html 


More information about the Qt-interest-old mailing list