How to use rtti with QTreeWidgetItem ?
Unsolved
General and Desktop
-
Hello,
I try to port old QT3 application to QT5.
It using old virtual method rtti() from QListViewItem ( http://osr600doc.sco.com/en/SDK_qt3/qlistviewitem.html#rtti )When i try to use it in QT5 with QTreeWidgetItem i got an error that this method is private and can't be used for re-implementation
What alternative is possible to use in QT5 for this method ?
-
If you created your QTreeWidgetItems with a specified type then that is returned by QTreeWidgetItem::type().
If you have subclassed QtreeWidgetItem see subclassing.