I want to install an autosave feature and was considering using QTimer. I looked at the docs, but most are in C, so I am having trouble getting it correct. So far, I have:
Qt Code:
timer.timeout(self.savefile) timer.start(600000)To copy to clipboard, switch view to plain text mode
1. Is QTimer the way to get what I want? If so, what is the correct code (Line 2 above is not correct)
2. If QTimer is the way to get what I want, where does the above code go? in the init of the module that contains self.savefile? If not, where?
3. If QTimer is not correct, what is the better way?
Thanks
Bookmarks