FolderListModel: remove widget and QDirModel use
authorMartin Petersson <Martin.Petersson@nokia.com>
Mon, 20 Feb 2012 13:56:12 +0000 (14:56 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 29 Feb 2012 08:20:00 +0000 (09:20 +0100)
commit9593df26c4a87130947dbdacf5ddb2f7a3412cbc
treeaa1596bfc882c328a842f1d116251181e8f8f074
parent82a2faadb83d74fec82c7ade443e64558670f3a7
FolderListModel: remove widget and QDirModel use

FolderListModel used the obsolete QDirModel internally. Because of this
it needed widgets to work. I have made a threaded model instead that
use QDir internally.

Change-Id: Ibd1267a135ee3c6df7bcde420073866b7a76d0d1
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
src/imports/folderlistmodel/fileinfothread.cpp [new file with mode: 0644]
src/imports/folderlistmodel/fileinfothread_p.h [new file with mode: 0644]
src/imports/folderlistmodel/fileproperty_p.h [new file with mode: 0644]
src/imports/folderlistmodel/folderlistmodel.pro
src/imports/folderlistmodel/qdeclarativefolderlistmodel.cpp
src/imports/folderlistmodel/qdeclarativefolderlistmodel.h
tests/auto/declarative/qdeclarativefolderlistmodel/tst_qdeclarativefolderlistmodel.cpp