working sample on how to monitor directory changes with QFileSystemWatcher