[Qt-interest] Writing a table proxy model for QFileSystemModel

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Thu Jul 1 10:18:45 CEST 2010


> "Unlike the QDirModel, QFileSystemModel uses a separate thread to
> populate itself so it will not cause the main thread to hang as the
> file system is being queried. Calls to rowCount() will return 0 until
> the model populates a directory."
>

I had read this too. But there's no info on how to find out when a
filesystem model is populated.

The only 2 signals emitted (fileRenamed/rootPathChanged ) do not tell
a user _when_ a FS model is fully populated.

-mandeep


> --
> J-P Nurmi
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



More information about the Qt-interest-old mailing list