You should rather use http://doc.qtsoftware.com/4.5/qfilesystemmodel.html
This way, you will not duplicate the data in the view and the view will get updated automatically when the underlying file system changes. --Axeljaeger 13:19, 16 June 2009 (EEST)