I know my question is similar to this QUESTION but i cant find solution from there. Can anyone give a breif answer to my problem?
I have a function like this
While you can use QTimer for checking file changes, in your case QFileWatcher might be better solution.