PDA

View Full Version : Updating the file from outside the application how to capture the event.



sujan.dasmahapatra
3rd January 2012, 08:08
Dear Friends
I have a file loaded in my treeview, this file is a plain text file. Now this file is modified outside the application using vi editor. How can i update the file in the treeview. How can I capture the event of modification from outside the application. Please help me resolve this problem. Any suggesion would be highly appreciated. Thanks Sujan

Lesiok
3rd January 2012, 13:38
Read about QFileSystemWatcher (http://doc.trolltech.com/4.7/qfilesystemwatcher.html)