diff options
author | Martin Petersson <Martin.Petersson@nokia.com> | 2012-02-20 14:56:12 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-29 09:20:00 +0100 |
commit | 9593df26c4a87130947dbdacf5ddb2f7a3412cbc (patch) | |
tree | aa1596bfc882c328a842f1d116251181e8f8f074 /src/imports/folderlistmodel/folderlistmodel.pro | |
parent | 82a2faadb83d74fec82c7ade443e64558670f3a7 (diff) |
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>
Diffstat (limited to 'src/imports/folderlistmodel/folderlistmodel.pro')
-rw-r--r-- | src/imports/folderlistmodel/folderlistmodel.pro | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/imports/folderlistmodel/folderlistmodel.pro b/src/imports/folderlistmodel/folderlistmodel.pro index 26efc654b8..9727b513e6 100644 --- a/src/imports/folderlistmodel/folderlistmodel.pro +++ b/src/imports/folderlistmodel/folderlistmodel.pro @@ -2,10 +2,13 @@ TARGET = qmlfolderlistmodelplugin TARGETPATH = Qt/labs/folderlistmodel include(../qimportbase.pri) -QT += widgets declarative +QT += declarative -SOURCES += qdeclarativefolderlistmodel.cpp plugin.cpp -HEADERS += qdeclarativefolderlistmodel.h +SOURCES += qdeclarativefolderlistmodel.cpp plugin.cpp \ + fileinfothread.cpp +HEADERS += qdeclarativefolderlistmodel.h \ + fileproperty_p.h \ + fileinfothread_p.h DESTDIR = $$QT.declarative.imports/$$TARGETPATH target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH |