PDA

View Full Version : QDirModel or QFileSystemModel?



ricardo
21st June 2009, 15:56
Hi friends!

Which should I use? Is QFileSystemModel a modern version of QDirModel or are they different things?

I just want to show the contents of a folder on a list view.

PD: using qt 4.5 and vs2005

Thanks for replies.

Lykurg
21st June 2009, 17:10
Hi friends!

Which should I use? Is QFileSystemModel a modern version of QDirModel or are they different things?

QFileSystemModel uses a own thread and caches the result and watch for changes.


I just want to show the contents of a folder on a list view.

Sounds you don't need all that stuff, so I would use QDirModel.