Use QFileWatcher and compare the directory contents before the signal and after the signal and you'll know wheter a new file appeared or not.
Use QFileWatcher and compare the directory contents before the signal and after the signal and you'll know wheter a new file appeared or not.
Thank you for your reply! Ok a good idea, but I can't find a class named QFileWatcher.
I use Qt 4.7...
Sorry, should be QFileSystemWatcher.
Qiieha (29th April 2011)
Bookmarks