I'm trying to implement QTreeView + QDirModel with checkable items. I have found topic with similar problem, I've derived new class from QDirModel but I don't get how to reimplement flags() and data() methods to have needed functionality. Can somebody help?