PDA

View Full Version : file search



Benjamin
21st August 2009, 15:12
Hi all,

I need to make, a simple program which should list all *.doc files that I have in my current folder. This folder can also have sub folders.

I would appreciate any pointer regarding how to implement file search.

Tnx

yogeshgokul
21st August 2009, 15:33
You need to manually search the folders recursively.
Here (http://www.qtcentre.org/forum/f-qt-programming-2/t-copy-directory-recusively-23469.html) you can find the recursive code for copying folders.
You need to tweak this code a little bit to achieve what you want.
For GUI, check this (http://pepper.troll.no/s60prereleases/doc/dialogs-findfiles.html).