Hi
I have a QList< QFileInfo > so that every QFileInfo is an address of one file in my system . I want to purge this QList so that this QList only include the address of file with .txt format .
please help me .
thanks
Hi
I have a QList< QFileInfo > so that every QFileInfo is an address of one file in my system . I want to purge this QList so that this QList only include the address of file with .txt format .
please help me .
thanks
You should be able to figure out both how to check if a file has a certain extension (suffix) and how to remove items from a list by reading the documentation of the two classes you mentioned.
If you come along any specific problem, post back!
Joh
Bookmarks