[SOLVED] Replacement for QAbstractItemModel
-
Hi folks,
I'm working on a project wich needs kind of a file explorer. Thus I'd like to play with the QTreeView and create a model for it. I found this tutorial : http://qt-project.org/doc/qt-4.8/itemviews-simpletreemodel.html. Unfortunately the QAbstractItemModel class is deprecated in Qt5. Which class should I inherit to get the job done ?
Thanks in advance ;)
-
Hi,
IFAIK this class is not deprecated although some of it's members might be. Where did you saw that ?
-
I tought I had. In fact, I just double checked and this class is not deprecated at all. Sorry for the noise. ;(
-
Don't worry, can happen to anybody