Results 1 to 2 of 2

Thread: iterate within a a directory

  1. #1
    Join Date
    Mar 2010
    Posts
    54
    Qt products
    Qt/Embedded
    Platforms
    Symbian S60

    Default iterate within a a directory

    Hi
    I have a directory that internally has a number of subdirectories

    --Gallery
    --Pictures (40)
    --Videos (30)
    --MyPictures(100)
    --MyVideos (50)

    How can I get the iterate through Gallery and get the total number of items 220 = 40+ 30+100+50

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: iterate within a a directory

    QDir
    Do you know where to find Qt Assistant?

Similar Threads

  1. QSortFilterProxy and iterate
    By mif in forum Qt Programming
    Replies: 1
    Last Post: 7th August 2010, 09:10
  2. iterate through QHash
    By rosenth in forum Qt Programming
    Replies: 3
    Last Post: 23rd May 2010, 07:55
  3. How to iterate QMap twice
    By sophister in forum Qt Programming
    Replies: 3
    Last Post: 12th May 2009, 16:59
  4. Iterate the QListWidget
    By vishal.chauhan in forum Newbie
    Replies: 1
    Last Post: 26th February 2007, 07:51
  5. How to iterate through QButtonGroup's buttons?
    By gadnio in forum Qt Programming
    Replies: 8
    Last Post: 13th January 2006, 05: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
  •  
Qt is a trademark of The Qt Company.