I\'ve cooked up a QAbstractListModel whose model indexes contain a pointer I absolutely needed in order to process data. I add the data like so:
I have implemented a list of users in my Qt program, using the model/view principle of Qt. My QListView displays a subclass of QAbstractListModel and so far this works just fine.
I created a model which list the existing configurations (let\'s say it lists \"files\", as this doesn\'t really matter here). So far, it works well when attached to a QListView.