Results 1 to 2 of 2

Thread: QDirModel or QFileSystemModel?

  1. #1
    Join Date
    Apr 2009
    Posts
    132
    Thanks
    67
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Wink QDirModel or QFileSystemModel?

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: QDirModel or QFileSystemModel?

    Quote Originally Posted by ricardo View Post
    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.

    Quote Originally Posted by ricardo View Post
    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.

  3. The following user says thank you to Lykurg for this useful post:

    ricardo (21st June 2009)

Similar Threads

  1. QFileSystemModel has no sorting
    By mpi in forum Qt Programming
    Replies: 3
    Last Post: 28th May 2009, 08:14
  2. move folders in QDirModel
    By janus in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2009, 18:38
  3. problem in declaring QDirModel
    By prasanth.nvs in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 11th December 2008, 16:45
  4. QDirModel and QTreeView cut and paste
    By Micawber in forum Qt Programming
    Replies: 4
    Last Post: 28th May 2008, 20:16
  5. Custom QDirModel
    By dude in forum Qt Programming
    Replies: 17
    Last Post: 12th December 2007, 07:06

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.