Hi, On 27.11.2015 12:19, Andrej Kacian wrote:
Hello all,I have a class derived from QTreeWidgetItem, and would like it to be able to use Qt's signal/slot system. Since QTreeWidgetItem is not itself derived from QObject, can I safely inherit from QTreeWidgetItem and QObject at the same time? E.g.: class MyTreeWidgetItem: public QTreeWidgetItem, public QObject { Q_OBJECT ... }
I don't see technical problems here, but...
Or is there a better way to do what I described? Thanks in advance,
Can you point out to what the signals/slots do you want to have? -- Best Regards, Igor Mironchik. _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
